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

@@ -102,6 +102,7 @@ template<typename MatrixType> void comparisons(const MatrixType& m)
VERIFY( (m1.array() > (m1(r,c)-1) ).any() );
VERIFY( (m1.array() < (m1(r,c)+1) ).any() );
VERIFY( (m1.array() == m1(r,c) ).any() );
VERIFY( m1.cwiseEqual(m1(r,c)).any() );
// test Select
VERIFY_IS_APPROX( (m1.array()<m2.array()).select(m1,m2), m1.cwiseMin(m2) );