diff --git a/kimchi/src/lagrange_basis_evaluations.rs b/kimchi/src/lagrange_basis_evaluations.rs index 167be53404..f2a4e3e08b 100644 --- a/kimchi/src/lagrange_basis_evaluations.rs +++ b/kimchi/src/lagrange_basis_evaluations.rs @@ -104,7 +104,7 @@ impl LagrangeBasisEvaluations { .map(|(j, evals)| { let mut result = F::zero(); for (i, e) in evals.iter().enumerate() { - if !p.evals[stride * j + i].is_zero() { + if !p.evals[stride * i].is_zero() { result += e; } }