fix: fix wrong constant case detection in three_bit_cond_neg_lookup
Kobi Gurkan kobigurk@gmail.com
Fri, 30 Oct 2020 23:37:27 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/fields/fp/mod.rs
→
src/fields/fp/mod.rs
@@ -979,7 +979,7 @@ ) -> Result<Self, SynthesisError> {
debug_assert_eq!(b.len(), 3); debug_assert_eq!(c.len(), 4); - if !b.cs().or(b0b1.cs()).is_none() { + if b.cs().or(b0b1.cs()).is_none() { // We only have constants let lsb = usize::from(b[0].value()?);