diff --git a/vec.h b/vec.h index 7c01c5b..456aa0a 100644 --- a/vec.h +++ b/vec.h @@ -37,7 +37,7 @@ template class CyclePerm; * auxiliary macro to avoid compilation errors for some types ******************************************************************************/ template -inline typename LA_traits::normtype MYABS(const T &x) {return abs(x);} +inline typename LA_traits::normtype MYABS(const T &x) {return std::abs(x);} template <> inline unsigned char MYABS(const unsigned char &x) {return x;} template <> inline unsigned short MYABS(const unsigned short &x) {return x;}