summaryrefslogtreecommitdiffstats
path: root/src/2geom/point.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/2geom/point.cpp')
-rw-r--r--src/2geom/point.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/2geom/point.cpp b/src/2geom/point.cpp
index 1e2a3463f..66eaf8ca6 100644
--- a/src/2geom/point.cpp
+++ b/src/2geom/point.cpp
@@ -18,7 +18,7 @@ namespace Geom {
void Point::normalize() {
double len = hypot(_pt[0], _pt[1]);
if(len == 0) return;
- if(is_nan(len)) return;
+ if(IS_NAN(len)) return;
static double const inf = 1e400;
if(len != inf) {
*this /= len;
@@ -71,7 +71,7 @@ Coord L1(Point const &p) {
Coord LInfty(Point const &p) {
Coord const a(fabs(p[0]));
Coord const b(fabs(p[1]));
- return ( a < b || is_nan(b)
+ return ( a < b || IS_NAN(b)
? b
: a );
}