Skip to content

Commit

Permalink
Fix breaking change from algebra/poly (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cesar199999 authored and autquis committed Oct 21, 2024
1 parent 65ef67c commit 67ddd9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poly-commit/src/streaming_kzg/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ fn interpolate_poly<E: Pairing>(
) -> DensePolynomial<E::ScalarField> {
let mut res = DensePolynomial::from_coefficients_vec(vec![E::ScalarField::zero()]);
for (j, (_x_j, y_j)) in eval_points.iter().zip(evals.iter()).enumerate() {
let l_poly = lang[j].mul(sca_inverse[j] * y_j);
let l_poly = (&lang[j]).mul(sca_inverse[j] * y_j);
res = (&res).add(&l_poly);
}
res
Expand Down

0 comments on commit 67ddd9c

Please sign in to comment.