diff --git a/other/build.nr b/other/build.nr index e911879..0717cf7 100644 --- a/other/build.nr +++ b/other/build.nr @@ -1 +1 @@ -1901 +1902 diff --git a/src/ostd/Geometry.hpp b/src/ostd/Geometry.hpp index f8ecf70..b2e7d36 100755 --- a/src/ostd/Geometry.hpp +++ b/src/ostd/Geometry.hpp @@ -19,7 +19,7 @@ namespace ostd public: inline Point(void) : x(0), y(0) {} inline Point(T xx, T yy) : x(xx), y(yy) {} - + inline bool operator==(const Point& op2 ) const { return (x == op2.x && y == op2.y); } inline bool operator!=(const Point& op2 ) const { return (x != op2.x || y != op2.y); } @@ -34,7 +34,7 @@ namespace ostd typedef Point DPoint; typedef Point UIPoint; typedef Point UI64Point; - typedef Point UI16Point; + typedef Point UI16Point; typedef Point UI8Point; typedef Point IPoint; typedef Point I64Point; @@ -127,7 +127,7 @@ namespace ostd //====================================================== private: - inline float _zp(float n1) const { return (n1 == 0 ? 1 : n1); } + inline float _zp(float n1) const { return (n1 == 0 ? 1 : n1); } }; @@ -403,6 +403,6 @@ namespace ostd typedef Line I64Line; typedef Line I16Line; typedef Line I8Line; -} +} #endif