We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb83e34 commit d5df285Copy full SHA for d5df285
crates/circuits/primitives/src/is_less_than_array/mod.rs
@@ -134,7 +134,7 @@ impl<const NUM: usize> IsLtArraySubAir<NUM> {
134
.assert_zero(not::<AB::Expr>(prefix_sum.clone()) * diff.clone());
135
builder.when(marker).assert_one(diff * diff_inv);
136
}
137
- builder.assert_bool(prefix_sum.clone());
+
138
// When condition != 0,
139
// - If `x != y`, then `prefix_sum = 1` so marker[i] must be nonzero iff i is the first
140
// index where `x[i] != y[i]`. Constrains that `diff_inv * (y[i] - x[i]) = 1` (`diff_val`
0 commit comments