Skip to content

Commit

Permalink
fix error introduced after prints
Browse files Browse the repository at this point in the history
  • Loading branch information
querolita committed Sep 4, 2024
1 parent 3ccba39 commit 3d34b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kimchi/src/lagrange_basis_evaluations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ impl<F: FftField> LagrangeBasisEvaluations<F> {
.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;
}
}
Expand Down

0 comments on commit 3d34b59

Please sign in to comment.