Skip to content

Commit

Permalink
Update poly/src/polynomial/univariate/dense.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Pratyush Mishra <[email protected]>
  • Loading branch information
tcoratger and Pratyush authored Dec 24, 2024
1 parent b69e95d commit efcde59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poly/src/polynomial/univariate/dense.rs
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ impl<'a, F: Field> Sub<&'a SparsePolynomial<F>> for &DensePolynomial<F> {
#[inline]
fn sub(self, other: &'a SparsePolynomial<F>) -> DensePolynomial<F> {
if self.is_zero() {
(-other.clone()).into()
(-(other.clone())).into()
} else if other.is_zero() {
self.clone()
} else {
Expand Down

0 comments on commit efcde59

Please sign in to comment.