mirror of
https://github.com/arnaucube/ark-r1cs-std.git
synced 2026-01-09 23:41:33 +01:00
Clean up a few loop bounds
This commit is contained in:
committed by
Pratyush Mishra
parent
f1d8b122fc
commit
ab65b01478
@@ -460,7 +460,7 @@ mod test {
|
||||
maxpower: usize,
|
||||
) {
|
||||
let mut rng = XorShiftRng::seed_from_u64(1231275789u64);
|
||||
for i in 0..(maxpower + 1) {
|
||||
for i in 0..=maxpower {
|
||||
let mut a = FE::rand(&mut rng);
|
||||
let mut a_gadget = F::alloc(cs.ns(|| format!("a_gadget_{:?}", i)), || Ok(a)).unwrap();
|
||||
a_gadget = a_gadget
|
||||
|
||||
Reference in New Issue
Block a user