Skip to content

Commit

Permalink
fmg
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenfeizhang committed Nov 20, 2023
1 parent 6edad9d commit 2f5ee10
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions halo2_proofs/src/dev.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,7 @@ impl<F: Field> From<Assigned<F>> for CellValue<F> {
}

#[cfg(feature = "mock-batch-inv")]
fn calculate_assigned_values<F: Field>(
cell_values: &mut [CellValue<F>],
inv_denoms: &[Option<F>],
) {
fn calculate_assigned_values<F: Field>(cell_values: &mut [CellValue<F>], inv_denoms: &[Option<F>]) {
assert_eq!(inv_denoms.len(), cell_values.len());
for (value, inv_den) in cell_values.iter_mut().zip(inv_denoms.iter()) {
// if numerator and denominator exist, calculate the assigned value
Expand Down

0 comments on commit 2f5ee10

Please sign in to comment.