mirror of
https://github.com/arnaucube/ark-r1cs-std.git
synced 2026-01-12 00:41:32 +01:00
Remove a few unnecessary clones
This commit is contained in:
committed by
Pratyush Mishra
parent
d71bc5a675
commit
c42c7dd98a
@@ -76,8 +76,8 @@ impl<P: Fp2Parameters<Fp = ConstraintF>, ConstraintF: PrimeField> FieldGadget<Fp
|
||||
#[inline]
|
||||
fn get_variable(&self) -> Self::Variable {
|
||||
(
|
||||
self.c0.get_variable().clone(),
|
||||
self.c1.get_variable().clone(),
|
||||
self.c0.get_variable(),
|
||||
self.c1.get_variable(),
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user