diff options
author | Carlos Becker <carlosbecker@gmail.com> | 2010-06-30 19:17:29 +0100 |
---|---|---|
committer | Carlos Becker <carlosbecker@gmail.com> | 2010-06-30 19:17:29 +0100 |
commit | 97f3c7f2824dfeb4fb440870b218d7a6534e8e44 (patch) | |
tree | 192389ac8a5abd1ba47ad0e10c0771cc41f60466 /test/nullary.cpp | |
parent | 34d79b6a6310f24a32b0fb35cd0311539ef00131 (diff) |
Fixed nullary test not passing on Core Duo
Diffstat (limited to 'test/nullary.cpp')
-rw-r--r-- | test/nullary.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/nullary.cpp b/test/nullary.cpp index f12d4c06e..c54999580 100644 --- a/test/nullary.cpp +++ b/test/nullary.cpp @@ -88,7 +88,7 @@ void testVectorType(const VectorType& base) Matrix<Scalar,1,Dynamic> col_vector(size); row_vector.setLinSpaced(low,high,size); col_vector.setLinSpaced(low,high,size); - VERIFY( (row_vector-col_vector.transpose()).norm() < NumTraits<Scalar>::epsilon() ); + VERIFY( row_vector.isApprox(col_vector.transpose(), NumTraits<Scalar>::epsilon())); Matrix<Scalar,Dynamic,1> size_changer(size+50); size_changer.setLinSpaced(low,high,size); |