forked from M-Labs/nalgebra
fix: remove Scalar trait bound for Matrix PartialEq and Eq
This commit is contained in:
parent
f5af5dbff2
commit
705051f639
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user