Re: [eigen] beta1: Nullary tests failing |
[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]
2010/6/30 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
Try this:
replace this line,
VERIFY( (row_vector-col_vector.transpose()).norm() <
NumTraits<Scalar>::epsilon() );
by this:
VERIFY( row_vector.isApprox(col_vector.transpose(),
NumTraits<Scalar>::epsilon()));
this does a relative fuzzy check.
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |