Merge pull request #1227 from hqurve/remove-scalar-requirement

fix: remove Scalar trait bound for Matrix PartialEq and Eq
This commit is contained in:
Sébastien Crozet 2023-04-15 11:05:14 +02:00 committed by GitHub
commit 0996b656f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>
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,