From 768bdd08c86bbdb7d577859bdf11687a6f57bbc3 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 28 Jun 2010 01:01:29 +0200 Subject: fix bad tests --- test/nullary.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/nullary.cpp') 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 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::epsilon() ); Matrix size_changer(size+50); size_changer.setLinSpaced(low,high,size); -- cgit v1.2.3