diff options
| author | Patrick Storz <eduard.braun2@gmx.de> | 2019-04-01 20:26:37 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-04-02 20:10:02 +0000 |
| commit | c08df128f0fdf5195eecc91e77ba72b0c60b6a47 (patch) | |
| tree | 0caef8c7641aee795b028099d2047b55da7cbd5e /src/2geom/linear.h | |
| parent | Update CMakeLists.txt (diff) | |
| download | inkscape-c08df128f0fdf5195eecc91e77ba72b0c60b6a47.tar.gz inkscape-c08df128f0fdf5195eecc91e77ba72b0c60b6a47.zip | |
2geom: update to 7e3b3f75023c7c69fd085574cfaa46de0213bbbc
Diffstat (limited to 'src/2geom/linear.h')
| -rw-r--r-- | src/2geom/linear.h | 2 |
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]; } |
