File tree 2 files changed +2
-2
lines changed
circuits/plonk-15-wires/src
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -565,7 +565,7 @@ mod tests {
565
565
println!( "decoded gate: {:?}" , decoded) ;
566
566
prop_assert_eq!( cg. row, decoded. row) ;
567
567
prop_assert_eq!( cg. typ, decoded. typ) ;
568
- for i in 0 ..COLUMNS {
568
+ for i in 0 ..PERMUTS {
569
569
prop_assert_eq!( cg. wires[ i] , decoded. wires[ i] ) ;
570
570
}
571
571
prop_assert_eq!( cg. c, decoded. c) ;
Original file line number Diff line number Diff line change @@ -583,7 +583,7 @@ impl<F: FftField + SquareRootField> ConstraintSystem<F> {
583
583
584
584
for ( row, gate) in self . gates . iter ( ) . enumerate ( ) {
585
585
// check if wires are connected
586
- for col in 0 ..COLUMNS {
586
+ for col in 0 ..PERMUTS {
587
587
let wire = gate. wires [ col] ;
588
588
if witness[ col] [ row] != witness[ wire. col ] [ wire. row ] {
589
589
return Err ( GateError :: DisconnectedWires (
You can’t perform that action at this time.
0 commit comments