Skip to content

Commit

Permalink
Merge pull request #1227 from hqurve/remove-scalar-requirement
Browse files Browse the repository at this point in the history
fix: remove Scalar trait bound for Matrix PartialEq and Eq
  • Loading branch information
sebcrozet committed Apr 15, 2023
2 parents f5af5db + 705051f commit 0996b65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/base/matrix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0996b65

Please sign in to comment.