diff options
author | Gael Guennebaud <g.gael@free.fr> | 2010-02-10 10:52:28 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2010-02-10 10:52:28 +0100 |
commit | fe0827495ab34749b8896bbebc0ff9fcc661c13b (patch) | |
tree | 93f7fc6799ef83c77188f64ed9176b61e3a04b33 /Eigen/src/Geometry/EulerAngles.h | |
parent | c11df02f0d8fdc546a9de27038d8a9d175936a54 (diff) |
* move dummy_precision and epsilon to NumTraits
* make NumTraits inherits std::numeric_limits
Diffstat (limited to 'Eigen/src/Geometry/EulerAngles.h')
-rw-r--r-- | Eigen/src/Geometry/EulerAngles.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Geometry/EulerAngles.h b/Eigen/src/Geometry/EulerAngles.h index b6dbf8ae9..13d23761a 100644 --- a/Eigen/src/Geometry/EulerAngles.h +++ b/Eigen/src/Geometry/EulerAngles.h @@ -50,7 +50,7 @@ MatrixBase<Derived>::eulerAngles(int a0, int a1, int a2) const Matrix<Scalar,3,1> res; typedef Matrix<typename Derived::Scalar,2,1> Vector2; - const Scalar epsilon = dummy_precision<Scalar>(); + const Scalar epsilon = NumTraits<Scalar>::dummy_precision(); const int odd = ((a0+1)%3 == a1) ? 0 : 1; const int i = a0; |