Skip to content

Commit de77242

Browse files
author
Ray Gao
committed
Debug constraint
1 parent a817f6f commit de77242

File tree

1 file changed

+1
-0
lines changed
  • extensions/native/circuit/src/sumcheck

1 file changed

+1
-0
lines changed

extensions/native/circuit/src/sumcheck/air.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ impl<AB: InteractionBuilder> Air<AB>
173173

174174
// Termination condition
175175
assert_array_eq(&mut builder.when::<AB::Expr>(not(continuation)), eval_acc, [AB::F::ZERO; 4]);
176+
assert_array_eq(&mut builder.when(header_continuation), next.challenges[0..EXT_DEG].try_into().expect(""), [AB::F::ONE, AB::F::ZERO, AB::F::ZERO, AB::F::ZERO]);
176177

177178
/* _debug
178179
// Randomness transition

0 commit comments

Comments
 (0)