mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-06 15:53:10 +00:00
more fixes
This commit is contained in:
parent
ca944d5892
commit
c6a33d0eff
@ -100,7 +100,7 @@ impl<F: Extendable<D>, const D: usize> Gate<F, D> for InsertionGate<F, D> {
|
||||
|
||||
// The two equality constraints.
|
||||
constraints.push(difference * equality_dummy - (F::Extension::ONE - insert_here));
|
||||
constraints.push((F::Extension::ONE - insert_here) * difference);
|
||||
constraints.push(insert_here * difference);
|
||||
|
||||
let mut new_item = element_to_insert * insert_here.into() + already_inserted.into();
|
||||
if r > 0 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user