commit | 3a4299b2454859cc386a14c1ea97ed868bffd2bf | [log] [tgz] |
---|---|---|
author | Gael Guennebaud <g.gael@free.fr> | Tue Jun 09 10:52:04 2015 +0200 |
committer | Gael Guennebaud <g.gael@free.fr> | Tue Jun 09 10:52:04 2015 +0200 |
tree | 56f975dc4a52fc3d982d8392ed67390d3190602f | |
parent | 9aef0db9928e54d1b0a317b07c2cc3a9b42fe5b2 [diff] [blame] |
bug #872: remove usage of deprecated bind1st.
diff --git a/test/array_for_matrix.cpp b/test/array_for_matrix.cpp index 9a50f99..9667e1f 100644 --- a/test/array_for_matrix.cpp +++ b/test/array_for_matrix.cpp
@@ -102,6 +102,7 @@ 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) );