We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df81072 commit 415eab2Copy full SHA for 415eab2
fastcrypto-tbls/src/polynomial.rs
@@ -5,7 +5,6 @@
5
// modified for our needs.
6
//
7
8
-use crate::types;
9
use crate::types::{to_scalar, IndexedValue, ShareIndex};
10
use fastcrypto::error::{FastCryptoError, FastCryptoResult};
11
use fastcrypto::groups::{GroupElement, MultiScalarMul, Scalar};
@@ -500,7 +499,7 @@ impl<C: Scalar> Monomial<C> {
500
499
fn divider(self) -> impl Fn(&Monomial<C>) -> Monomial<C> {
501
let inverse = self.coefficient.inverse().unwrap();
502
move |p: &Monomial<C>| Monomial {
503
- coefficient: p.coefficient * &inverse,
+ coefficient: p.coefficient * inverse,
504
degree: p.degree - self.degree,
505
}
506
0 commit comments