diff options
author | 2015-06-09 10:52:04 +0200 | |
---|---|---|
committer | 2015-06-09 10:52:04 +0200 | |
commit | 3a4299b2454859cc386a14c1ea97ed868bffd2bf (patch) | |
tree | 56f975dc4a52fc3d982d8392ed67390d3190602f /test | |
parent | 9aef0db9928e54d1b0a317b07c2cc3a9b42fe5b2 (diff) |
bug #872: remove usage of deprecated bind1st.
Diffstat (limited to 'test')
-rw-r--r-- | test/array_for_matrix.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/array_for_matrix.cpp b/test/array_for_matrix.cpp index 9a50f99ab..9667e1f14 100644 --- a/test/array_for_matrix.cpp +++ b/test/array_for_matrix.cpp @@ -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) ); |