diff --git a/nalgebra-sparse/src/convert/impl_std_ops.rs b/nalgebra-sparse/src/convert/impl_std_ops.rs index 683227e2..9509af24 100644 --- a/nalgebra-sparse/src/convert/impl_std_ops.rs +++ b/nalgebra-sparse/src/convert/impl_std_ops.rs @@ -29,7 +29,7 @@ where impl<'a, T> From<&'a CooMatrix> for CsrMatrix where - T: Scalar + Zero + ClosedAdd, + T: Scalar + Zero, { fn from(matrix: &'a CooMatrix) -> Self { convert_coo_csr(matrix) @@ -38,7 +38,7 @@ where impl<'a, T> From<&'a CsrMatrix> for CooMatrix where - T: Scalar + Zero + ClosedAdd, + T: Scalar, { fn from(matrix: &'a CsrMatrix) -> Self { convert_csr_coo(matrix) @@ -68,7 +68,7 @@ where impl<'a, T> From<&'a CooMatrix> for CscMatrix where - T: Scalar + Zero + ClosedAdd, + T: Scalar + Zero, { fn from(matrix: &'a CooMatrix) -> Self { convert_coo_csc(matrix) @@ -77,7 +77,7 @@ where impl<'a, T> From<&'a CscMatrix> for CooMatrix where - T: Scalar + Zero, + T: Scalar, { fn from(matrix: &'a CscMatrix) -> Self { convert_csc_coo(matrix)