Merge two impls

This commit is contained in:
wborgeaud 2021-08-23 11:06:33 +02:00
parent 2fcfa230a6
commit 181ddf93ab

View File

@ -82,8 +82,7 @@ impl<F: Field> PartitionWitness<F> {
self.forest[x.index] = x;
self.forest[y.index] = y;
}
}
impl<F: Field> PartitionWitness<F> {
pub fn wire_partition(&mut self) -> WirePartition {
let mut partition = HashMap::<_, Vec<_>>::new();
for gate in 0..self.degree {