Browse Source

Fix ns

master
ValarDragon 4 years ago
committed by Pratyush Mishra
parent
commit
cb1bcb1cbf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      r1cs-std/src/fields/mod.rs

+ 1
- 1
r1cs-std/src/fields/mod.rs

@ -434,7 +434,7 @@ pub(crate) mod tests {
// a * a * a = a^3 // a * a * a = a^3
assert_eq!( assert_eq!(
a_native * &(a_native * &a_native), a_native * &(a_native * &a_native),
a.pow_by_constant(cs.ns(|| "test_pow"), &[3])
a.pow_by_constant(cs.ns(|| "test_constant_pow"), &[3])
.unwrap() .unwrap()
.get_value() .get_value()
.unwrap() .unwrap()

Loading…
Cancel
Save