arnaucube
arnaucube/plonky2-u32Public Self-hosted repository
cleanup
Nicholas Ward npward@berkeley.edu
Tue, 26 Sep 2023 11:14:46 -0700
commit

f652088bc33f4d64a85afcca20b94e3cde3f6f3d

parent

a36539033e15f8d2d6fcc02c897ab3a26343cf49

1 files changed, 2 insertions(+), 3 deletions(-)

jump to
M src/gates/subtraction_u32.rs → src/gates/subtraction_u32.rs

@@ -201,7 +201,7 @@

fn generators(&self, row: usize, _local_constants: &[F]) -> Vec<WitnessGeneratorRef<F, D>> { (0..self.num_ops) .map(|i| { - let g = WitnessGeneratorRef::new( + WitnessGeneratorRef::new( U32SubtractionGenerator { gate: *self, row,

@@ -209,8 +209,7 @@ i,

_phantom: PhantomData, } .adapter(), - ); - g + ) }) .collect() }