mirror of
https://github.com/arnaucube/ark-r1cs-std.git
synced 2026-01-12 00:41:32 +01:00
Use built-in iteration functions more
This commit is contained in:
committed by
Pratyush Mishra
parent
c42c7dd98a
commit
53a51eb4dc
@@ -405,7 +405,7 @@ mod test {
|
||||
assert_eq!(a_inv.get_value().unwrap(), a_native.inverse().unwrap());
|
||||
// a * a * a = a^3
|
||||
let bits = BitIterator::new([0x3])
|
||||
.map(|bit| Boolean::constant(bit))
|
||||
.map(Boolean::constant)
|
||||
.collect::<Vec<_>>();
|
||||
assert_eq!(
|
||||
a_native * &(a_native * &a_native),
|
||||
|
||||
Reference in New Issue
Block a user