mirror of
https://github.com/arnaucube/Nova.git
synced 2026-01-12 09:01:28 +01:00
[test, chore]: Fix clippy and genericize one more test (#180)
* genericize test_tiny_r1cs * chore: remove redundant clone in scalar_mul Makes clippy happy
This commit is contained in:
committed by
GitHub
parent
7193483628
commit
bef42262d6
@@ -439,8 +439,8 @@ where
|
||||
|
||||
// we assume the first bit to be 1, so we must initialize acc to self and double it
|
||||
// we remove this assumption below
|
||||
let mut acc = p.clone();
|
||||
p = p.double_incomplete(cs.namespace(|| "double"))?;
|
||||
let mut acc = p;
|
||||
p = acc.double_incomplete(cs.namespace(|| "double"))?;
|
||||
|
||||
// perform the double-and-add loop to compute the scalar mul using incomplete addition law
|
||||
for (i, bit) in incomplete_bits.iter().enumerate().skip(1) {
|
||||
|
||||
Reference in New Issue
Block a user