bug #872: remove usage of deprecated bind1st/bind2nd functions (manually backported from devel branch)

This commit is contained in:
Gael Guennebaud
2015-06-09 11:06:39 +02:00
parent 0ebce69424
commit 51ab034f63
8 changed files with 122 additions and 37 deletions

View File

@@ -109,6 +109,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 to scalar
VERIFY( (m1 != (m1(r,c)+1) ).any() );