aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/nullary.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-06-28 01:01:29 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-06-28 01:01:29 +0200
commit768bdd08c86bbdb7d577859bdf11687a6f57bbc3 (patch)
tree1dcd84de30613e496f8b27e492d1e19cd4992bef /test/nullary.cpp
parent75da254fc3f70d5bc5c377ee78b0354ab369dec7 (diff)
fix bad tests
Diffstat (limited to 'test/nullary.cpp')
-rw-r--r--test/nullary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/nullary.cpp b/test/nullary.cpp
index 9f08ec23a..f12d4c06e 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() < 1e-10 );
+ VERIFY( (row_vector-col_vector.transpose()).norm() < NumTraits<Scalar>::epsilon() );
Matrix<Scalar,Dynamic,1> size_changer(size+50);
size_changer.setLinSpaced(low,high,size);