Merge pull request #1227 from hqurve/remove-scalar-requirement
fix: remove Scalar trait bound for Matrix PartialEq and Eq
This commit is contained in:
commit
0996b656f9
|
@ -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