Skip to content

Commit

Permalink
Merge pull request #1 from valida-xyz/fix-test
Browse files Browse the repository at this point in the history
fix failing-to-compile test suite in valida
  • Loading branch information
morganthomas authored Mar 15, 2024
2 parents f1569fc + ae450f9 commit 3c89583
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interpolation/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ where
let s = diff_inv * subgroup_i;
row_i.into_iter().map(|y_i| s * y_i).collect()
})
.fold_chunks(64, || vec![EF::zero(); width], sum_vecs)
.reduce(|| vec![EF::zero(); width], sum_vecs);
.reduce(sum_vecs)
.expect("Expected nonempty sum");

let zerofier = two_adic_coset_zerofier::<EF>(log_height, EF::from_base(shift), point);
let denominator = F::from_canonical_usize(height) * shift.exp_u64(height as u64 - 1);
Expand Down

0 comments on commit 3c89583

Please sign in to comment.