Skip to content

Commit 415eab2

Browse files
committed
xlippy
1 parent df81072 commit 415eab2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

fastcrypto-tbls/src/polynomial.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
// modified for our needs.
66
//
77

8-
use crate::types;
98
use crate::types::{to_scalar, IndexedValue, ShareIndex};
109
use fastcrypto::error::{FastCryptoError, FastCryptoResult};
1110
use fastcrypto::groups::{GroupElement, MultiScalarMul, Scalar};
@@ -500,7 +499,7 @@ impl<C: Scalar> Monomial<C> {
500499
fn divider(self) -> impl Fn(&Monomial<C>) -> Monomial<C> {
501500
let inverse = self.coefficient.inverse().unwrap();
502501
move |p: &Monomial<C>| Monomial {
503-
coefficient: p.coefficient * &inverse,
502+
coefficient: p.coefficient * inverse,
504503
degree: p.degree - self.degree,
505504
}
506505
}

0 commit comments

Comments
 (0)