diff -r fc35e3ff4bea -r 6aea07d5ca48 lemon/math.h --- a/lemon/math.h Thu May 08 17:20:25 2014 +0200 +++ b/lemon/math.h Sat May 31 07:00:14 2014 +0200 @@ -67,7 +67,7 @@ ///Round a value to its closest integer inline double round(double r) { - return (r > 0.0) ? floor(r + 0.5) : ceil(r - 0.5); + return (r > 0.0) ? std::floor(r + 0.5) : std::ceil(r - 0.5); } /// @}