From 97f3c7f2824dfeb4fb440870b218d7a6534e8e44 Mon Sep 17 00:00:00 2001 From: Carlos Becker Date: Wed, 30 Jun 2010 19:17:29 +0100 Subject: [PATCH] Fixed nullary test not passing on Core Duo --- test/nullary.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 col_vector(size); row_vector.setLinSpaced(low,high,size); col_vector.setLinSpaced(low,high,size); - VERIFY( (row_vector-col_vector.transpose()).norm() < NumTraits::epsilon() ); + VERIFY( row_vector.isApprox(col_vector.transpose(), NumTraits::epsilon())); Matrix size_changer(size+50); size_changer.setLinSpaced(low,high,size);