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/MatrixBase.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/MatrixBase.h')
-rw-r--r-- | Eigen/src/Core/MatrixBase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/MatrixBase.h b/Eigen/src/Core/MatrixBase.h index fce3a441d..cb7186729 100644 --- a/Eigen/src/Core/MatrixBase.h +++ b/Eigen/src/Core/MatrixBase.h @@ -314,7 +314,7 @@ template<typename Scalar, typename Derived> class MatrixBase for(int j = 0; j < cols(); j++) for(int i = 0; i < rows(); i++) { - RealScalar x = abs(coeff(i,j)); + RealScalar x = ei_abs(coeff(i,j)); if(x > biggest) { biggest = x; |