summaryrefslogtreecommitdiffstats
path: root/src/2geom/line.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/2geom/line.cpp')
-rw-r--r--src/2geom/line.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/2geom/line.cpp b/src/2geom/line.cpp
index a9cc0e251..ce9b9ccd2 100644
--- a/src/2geom/line.cpp
+++ b/src/2geom/line.cpp
@@ -130,7 +130,7 @@ std::vector<Coord> Line::coefficients() const
std::vector<Coord> Line::roots(Coord v, Dim2 d) const {
std::vector<Coord> result;
Coord r = root(v, d);
- if (IS_FINITE(r)) {
+ if (std::isfinite(r)) {
result.push_back(r);
}
return result;