diff --git a/poly/benches/dense_uv_polynomial.rs b/poly/benches/dense_uv_polynomial.rs index 55d8e1bf1..c6cf887a5 100644 --- a/poly/benches/dense_uv_polynomial.rs +++ b/poly/benches/dense_uv_polynomial.rs @@ -59,7 +59,7 @@ fn bench_sparse_poly_evaluate(b: &mut Bencher, non_zero_entries: &usiz fn bench_poly_evaluate(b: &mut Bencher, degree: &usize) { // Per benchmark setup let mut rng = &mut ark_std::test_rng(); - let poly = DensePolynomial::::rand(*degree, &mut rng); + let poly = DensePolynomial::rand(*degree, &mut rng); b.iter(|| { // Per benchmark iteration let pt = F::rand(&mut rng); @@ -71,7 +71,7 @@ fn bench_poly_add(b: &mut Bencher, degree: &usize) { // Per benchmark setup let mut rng = &mut ark_std::test_rng(); let poly_one = DensePolynomial::::rand(*degree, &mut rng); - let poly_two = DensePolynomial::::rand(*degree, &mut rng); + let poly_two = DensePolynomial::rand(*degree, &mut rng); b.iter(|| { // Per benchmark iteration let _poly_three = &poly_one + &poly_two; diff --git a/poly/benches/fft.rs b/poly/benches/fft.rs index 47ccb0dbc..0f89c8096 100644 --- a/poly/benches/fft.rs +++ b/poly/benches/fft.rs @@ -63,7 +63,7 @@ fn fft_setup_with_domain_size>( ) -> (D, Vec) { let mut rng = &mut ark_std::test_rng(); let domain = D::new(domain_size).unwrap(); - let a = DensePolynomial::::rand(degree - 1, &mut rng) + let a = DensePolynomial::rand(degree - 1, &mut rng) .coeffs() .to_vec(); (domain, a) diff --git a/poly/src/polynomial/univariate/dense.rs b/poly/src/polynomial/univariate/dense.rs index 075351523..d91fd95a8 100644 --- a/poly/src/polynomial/univariate/dense.rs +++ b/poly/src/polynomial/univariate/dense.rs @@ -172,7 +172,7 @@ impl DensePolynomial { if self.coeffs.len() < domain_size { // If degree(self) < len(Domain), then the quotient is zero, and the entire polynomial is the remainder - (DensePolynomial::::zero(), self.clone()) + (DensePolynomial::zero(), self.clone()) } else { // Compute the quotient // @@ -206,8 +206,8 @@ impl DensePolynomial { .zip("ient_vec) .for_each(|(s, c)| *s += c); - let quotient = DensePolynomial::::from_coefficients_vec(quotient_vec); - let remainder = DensePolynomial::::from_coefficients_vec(remainder_vec); + let quotient = DensePolynomial::from_coefficients_vec(quotient_vec); + let remainder = DensePolynomial::from_coefficients_vec(remainder_vec); (quotient, remainder) } }