Remove a few unnecessary clones

This commit is contained in:
François Garillot
2019-12-02 07:26:52 -08:00
committed by Pratyush Mishra
parent d71bc5a675
commit c42c7dd98a
5 changed files with 10 additions and 10 deletions

View File

@@ -180,7 +180,7 @@ where
P::miller_loop(
cs.ns(|| "Miller loop 4"),
&[a_prep, pvk.g_gamma_pc.clone()],
&[pvk.h_gamma_pc.clone(), b_prep],
&[pvk.h_gamma_pc, b_prep],
)?
};
let test2 = P::final_exponentiation(cs.ns(|| "Final Exp 2"), &test2_exp)?;