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
1 changed files with 2 additions and 2 deletions

View File

@ -1859,14 +1859,14 @@ where
impl<T, R: Dim, C: Dim, S> Eq for Matrix<T, R, C, S> impl<T, R: Dim, C: Dim, S> Eq for Matrix<T, R, C, S>
where where
T: Scalar + Eq, T: Eq,
S: RawStorage<T, R, C>, 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> impl<T, R, R2, C, C2, S, S2> PartialEq<Matrix<T, R2, C2, S2>> for Matrix<T, R, C, S>
where where
T: Scalar + PartialEq, T: PartialEq,
C: Dim, C: Dim,
C2: Dim, C2: Dim,
R: Dim, R: Dim,