Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Connor <[email protected]>
  • Loading branch information
TomAFrench and iAmMichaelConnor authored Jan 16, 2025
1 parent c057a6f commit e3e2b4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions noir-projects/noir-protocol-circuits/crates/blob/src/blob.nr
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ fn barycentric_evaluate_blob_at_z(z: F, ys: [F; FIELDS_PER_BLOB]) -> F {
let linear_terms = [partial_sums[i - 1], partial_sums[i]];

BigNum::evaluate_quadratic_expression(
/* lhs */
[
[ROOTS[i * 8 + 0]],
[ROOTS[i * 8 + 1]],
Expand All @@ -285,6 +286,7 @@ fn barycentric_evaluate_blob_at_z(z: F, ys: [F; FIELDS_PER_BLOB]) -> F {
[ROOTS[i * 8 + 7]],
],
[[false], [false], [false], [false], [false], [false], [false], [false]],
/* rhs */
[
[fracs[i * 8 + 0]],
[fracs[i * 8 + 1]],
Expand Down

0 comments on commit e3e2b4f

Please sign in to comment.