From cb1bcb1cbfdf7072c059e001043a80867f0b4c55 Mon Sep 17 00:00:00 2001 From: ValarDragon Date: Fri, 28 Feb 2020 16:28:21 -0800 Subject: [PATCH] Fix ns --- r1cs-std/src/fields/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r1cs-std/src/fields/mod.rs b/r1cs-std/src/fields/mod.rs index bab7d35..90fcfbc 100644 --- a/r1cs-std/src/fields/mod.rs +++ b/r1cs-std/src/fields/mod.rs @@ -434,7 +434,7 @@ pub(crate) mod tests { // a * a * a = a^3 assert_eq!( 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() .get_value() .unwrap()