diff --git a/src/gadgets/arithmetic_extension.rs b/src/gadgets/arithmetic_extension.rs index e274b781..c1bedb9d 100644 --- a/src/gadgets/arithmetic_extension.rs +++ b/src/gadgets/arithmetic_extension.rs @@ -143,7 +143,7 @@ impl, const D: usize> CircuitBuilder { } } if let Some(x) = mul_1_const { - if (x * const_1.into()).is_one() { + if (x * const_0.into()).is_one() { return Some(multiplicand_0); } }