diff options
author | 2008-02-28 12:38:12 +0000 | |
---|---|---|
committer | 2008-02-28 12:38:12 +0000 | |
commit | 6907886a156c4b94ec7530351b271e1c1bc5b81b (patch) | |
tree | 9c9431ba83e0234e5f199031ed48915ad6365422 /Eigen/src/Core/Identity.h | |
parent | c67e717404258d3625a74c67f50be34939af6d95 (diff) |
prefix global functions with ei_ as previous solution was rather
fragile. also fix compilation with g++ 4.3.
Diffstat (limited to 'Eigen/src/Core/Identity.h')
-rw-r--r-- | Eigen/src/Core/Identity.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/Identity.h b/Eigen/src/Core/Identity.h index a74ad0247..4cb9073a6 100644 --- a/Eigen/src/Core/Identity.h +++ b/Eigen/src/Core/Identity.h @@ -125,12 +125,12 @@ bool MatrixBase<Scalar, Derived>::isIdentity { if(i == j) { - if(!Eigen::isApprox(coeff(i, j), static_cast<Scalar>(1), prec)) + if(!ei_isApprox(coeff(i, j), static_cast<Scalar>(1), prec)) return false; } else { - if(!Eigen::isMuchSmallerThan(coeff(i, j), static_cast<RealScalar>(1), prec)) + if(!ei_isMuchSmallerThan(coeff(i, j), static_cast<RealScalar>(1), prec)) return false; } } |