makes evaluator test use VERIFY_IS_APPROX

This commit is contained in:
Gael Guennebaud
2011-03-23 17:23:56 +01:00
parent 4ada45bc76
commit abc8c0821c
2 changed files with 34 additions and 55 deletions

View File

@@ -170,9 +170,10 @@ struct copy_using_evaluator_impl<LhsXprType, RhsXprType, DefaultTraversal, NoUnr
// Based on DenseBase::LazyAssign()
template<typename LhsXprType, typename RhsXprType>
void copy_using_evaluator(const LhsXprType& lhs, const RhsXprType& rhs)
const LhsXprType& copy_using_evaluator(const LhsXprType& lhs, const RhsXprType& rhs)
{
copy_using_evaluator_impl<LhsXprType, RhsXprType>::run(lhs, rhs);
return lhs;
}
} // namespace internal