summaryrefslogtreecommitdiffstats
path: root/src/2geom/linear.h
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-04-01 20:26:37 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-04-02 20:10:02 +0000
commitc08df128f0fdf5195eecc91e77ba72b0c60b6a47 (patch)
tree0caef8c7641aee795b028099d2047b55da7cbd5e /src/2geom/linear.h
parentUpdate CMakeLists.txt (diff)
downloadinkscape-c08df128f0fdf5195eecc91e77ba72b0c60b6a47.tar.gz
inkscape-c08df128f0fdf5195eecc91e77ba72b0c60b6a47.zip
2geom: update to 7e3b3f75023c7c69fd085574cfaa46de0213bbbc
Diffstat (limited to 'src/2geom/linear.h')
-rw-r--r--src/2geom/linear.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/2geom/linear.h b/src/2geom/linear.h
index 316ed8639..75c6e0146 100644
--- a/src/2geom/linear.h
+++ b/src/2geom/linear.h
@@ -72,7 +72,7 @@ public:
typedef Coord output_type;
bool isZero(Coord eps=EPSILON) const { return are_near(a[0], 0., eps) && are_near(a[1], 0., eps); }
bool isConstant(Coord eps=EPSILON) const { return are_near(a[0], a[1], eps); }
- bool isFinite() const { return IS_FINITE(a[0]) && IS_FINITE(a[1]); }
+ bool isFinite() const { return std::isfinite(a[0]) && std::isfinite(a[1]); }
Coord at0() const { return a[0]; }
Coord &at0() { return a[0]; }