fix bad tests

This commit is contained in:
Gael Guennebaud
2010-06-28 01:01:29 +02:00
parent 75da254fc3
commit 768bdd08c8
2 changed files with 4 additions and 4 deletions

View File

@@ -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);