diff options
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 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); |