diff options
Diffstat (limited to 'src/2geom/line.cpp')
| -rw-r--r-- | src/2geom/line.cpp | 2 |
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; |
