From 2616a5b1559daf8aafa69290caa1e6f92db7972d Mon Sep 17 00:00:00 2001 From: Tim Hoffman Date: Fri, 6 Sep 2024 09:39:05 -0500 Subject: [PATCH] fix the build --- circuit_passes/src/bucket_interpreter/value.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circuit_passes/src/bucket_interpreter/value.rs b/circuit_passes/src/bucket_interpreter/value.rs index 0c09c160f..c310c4147 100644 --- a/circuit_passes/src/bucket_interpreter/value.rs +++ b/circuit_passes/src/bucket_interpreter/value.rs @@ -319,7 +319,7 @@ pub fn complement(v: &Value, field: &BigInt) -> Result { match v { Unknown => Ok(Unknown), KnownU32(n) => Ok(KnownU32(!(*n))), - KnownBigInt(n) => Ok(KnownBigInt(modular_arithmetic::complement_256(n, field))), + KnownBigInt(n) => Ok(KnownBigInt(modular_arithmetic::complement_254(n, field))), } }