Skip to content

Commit

Permalink
[kimchi] fix poseidon test
Browse files Browse the repository at this point in the history
  • Loading branch information
mimoo committed Oct 20, 2021
1 parent 2b2fb34 commit 69b6a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion circuits/plonk-15-wires/src/nolookup/constraints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ impl<F: FftField + SquareRootField> ConstraintSystem<F> {

for (row, gate) in self.gates.iter().enumerate() {
// check if wires are connected
for col in 0..COLUMNS {
for col in 0..PERMUTS {
let wire = gate.wires[col];
if witness[col][row] != witness[wire.col][wire.row] {
return Err(GateError::DisconnectedWires(
Expand Down

0 comments on commit 69b6a4c

Please sign in to comment.