Skip to content

Commit

Permalink
fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
nhtyy committed Nov 28, 2024
1 parent 59e5a09 commit 9abcaae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 34 deletions.
33 changes: 0 additions & 33 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion crates/core/machine/src/operations/field/field_sqrt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,12 @@ mod tests {
let mut row = [F::zero(); NUM_TEST_COLS];
let cols: &mut TestCols<F, P> = row.as_mut_slice().borrow_mut();
cols.a = P::to_limbs_field::<F, _>(a);
cols.sqrt.populate(&mut blu_events, 1, a, ed25519_sqrt);
cols.sqrt.populate(
&mut blu_events,
1,
a,
|p| ed25519_sqrt(p).expect("By now we should have validated the sqrt exists, this is a bug"),
);
output.add_byte_lookup_events(blu_events);
row
})
Expand Down

0 comments on commit 9abcaae

Please sign in to comment.