summaryrefslogtreecommitdiffstats
path: root/src/proj_pt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/proj_pt.cpp')
-rw-r--r--src/proj_pt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proj_pt.cpp b/src/proj_pt.cpp
index 9294046ab..55f896a1a 100644
--- a/src/proj_pt.cpp
+++ b/src/proj_pt.cpp
@@ -48,7 +48,7 @@ Pt2::normalize() {
Geom::Point
Pt2::affine() {
if (fabs(pt[2]) < epsilon) {
- return Geom::Point (NR_HUGE, NR_HUGE);
+ return Geom::Point (Geom::infinity(), Geom::infinity());
}
return Geom::Point (pt[0]/pt[2], pt[1]/pt[2]);
}