mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-08 08:43:06 +00:00
fmt
This commit is contained in:
parent
ad1aa4ae10
commit
f67e12ee64
@ -364,11 +364,7 @@ impl<F: RichField> SimpleGenerator<F> for EqualityGenerator {
|
||||
let x = witness.get_target(self.x);
|
||||
let y = witness.get_target(self.y);
|
||||
|
||||
let inv = if x != y {
|
||||
(x - y).inverse()
|
||||
} else {
|
||||
F::ZERO
|
||||
};
|
||||
let inv = if x != y { (x - y).inverse() } else { F::ZERO };
|
||||
|
||||
out_buffer.set_bool_target(self.equal, x == y);
|
||||
out_buffer.set_target(self.inv, inv);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user