mirror of
https://github.com/arnaucube/plonky2-u32.git
synced 2026-02-10 13:16:46 +01:00
cleanup
This commit is contained in:
@@ -201,7 +201,7 @@ impl<F: RichField + Extendable<D>, const D: usize> Gate<F, D> for U32Subtraction
|
|||||||
fn generators(&self, row: usize, _local_constants: &[F]) -> Vec<WitnessGeneratorRef<F, D>> {
|
fn generators(&self, row: usize, _local_constants: &[F]) -> Vec<WitnessGeneratorRef<F, D>> {
|
||||||
(0..self.num_ops)
|
(0..self.num_ops)
|
||||||
.map(|i| {
|
.map(|i| {
|
||||||
let g = WitnessGeneratorRef::new(
|
WitnessGeneratorRef::new(
|
||||||
U32SubtractionGenerator {
|
U32SubtractionGenerator {
|
||||||
gate: *self,
|
gate: *self,
|
||||||
row,
|
row,
|
||||||
@@ -209,8 +209,7 @@ impl<F: RichField + Extendable<D>, const D: usize> Gate<F, D> for U32Subtraction
|
|||||||
_phantom: PhantomData,
|
_phantom: PhantomData,
|
||||||
}
|
}
|
||||||
.adapter(),
|
.adapter(),
|
||||||
);
|
)
|
||||||
g
|
|
||||||
})
|
})
|
||||||
.collect()
|
.collect()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user