diff --git a/maths.hpp b/maths.hpp index a87ae18c..93ba08fc 100644 --- a/maths.hpp +++ b/maths.hpp @@ -32,6 +32,11 @@ abs (T value) { return value > 0 ? value : -value; } +namespace util { + template T abs (T t) { return ::abs (t); } +} + + //----------------------------------------------------------------------------- // Exponentials template