unsupported/Eigen/AlignedVector3: dummy_precision is now in NumTraits

This commit is contained in:
Jitse Niesen 2010-02-10 17:59:27 +00:00
parent d0e8342a04
commit fc5fa77743

View File

@ -189,7 +189,7 @@ template<typename _Scalar> class AlignedVector3
}
template<typename Derived>
inline bool isApprox(const MatrixBase<Derived>& other, RealScalar eps=dummy_precision<Scalar>()) const
inline bool isApprox(const MatrixBase<Derived>& other, RealScalar eps=NumTraits<Scalar>::dummy_precision()) const
{
return m_coeffs.template head<3>().isApprox(other,eps);
}