mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
bug #872: Avoid deprecated binder1st/binder2nd usage by providing custom functors for comparison operators
This commit is contained in:
@@ -136,6 +136,8 @@ template<typename ArrayType> void comparisons(const ArrayType& m)
|
||||
VERIFY(! (m1 < m3).all() );
|
||||
VERIFY(! (m1 > m3).all() );
|
||||
}
|
||||
VERIFY(!(m1 > m2 && m1 < m2).any());
|
||||
VERIFY((m1 <= m2 || m1 >= m2).all());
|
||||
|
||||
// comparisons array to scalar
|
||||
VERIFY( (m1 != (m1(r,c)+1) ).any() );
|
||||
|
||||
Reference in New Issue
Block a user