fix: remove Scalar trait bound for Matrix PartialEq and Eq

This commit is contained in:
hqurve 2023-04-08 10:23:20 -04:00
parent f5af5dbff2
commit 705051f639

View File

@ -1859,14 +1859,14 @@ where
impl<T, R: Dim, C: Dim, S> Eq for Matrix<T, R, C, S>
where
T: Scalar + Eq,
T: Eq,
S: RawStorage<T, R, C>,
{
}
impl<T, R, R2, C, C2, S, S2> PartialEq<Matrix<T, R2, C2, S2>> for Matrix<T, R, C, S>
where
T: Scalar + PartialEq,
T: PartialEq,
C: Dim,
C2: Dim,
R: Dim,