diff --git a/src/base/matrix.rs b/src/base/matrix.rs index 449d76cd..5d60b970 100644 --- a/src/base/matrix.rs +++ b/src/base/matrix.rs @@ -1344,10 +1344,15 @@ where S: Storage, {} -impl PartialEq for Matrix +impl PartialEq> for Matrix where - N: Scalar, + N: Scalar + PartialEq, + C: Dim + PartialEq, + C2: Dim, + R: Dim + PartialEq, + R2: Dim, S: Storage, + S2: Storage { #[inline] fn eq(&self, right: &Matrix) -> bool {