# HG changeset patch # User Alpar Juttner # Date 1401512414 -7200 # Node ID 6aea07d5ca48a02d8efa22e80fda79b38ed66bec # Parent fc35e3ff4beaf498ad637c119aeb249e484c96ca Add missing include header and std:: namespace spec. (#487) diff -r fc35e3ff4bea -r 6aea07d5ca48 lemon/dim2.h --- a/lemon/dim2.h Thu May 08 17:20:25 2014 +0200 +++ b/lemon/dim2.h Sat May 31 07:00:14 2014 +0200 @@ -20,6 +20,7 @@ #define LEMON_DIM2_H #include +#include ///\ingroup geomdat ///\file 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); } /// @}