diff options
| author | Patrick Storz <eduard.braun2@gmx.de> | 2019-04-01 20:29:39 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-04-02 20:10:02 +0000 |
| commit | 76e18ec5cbcb2ce1f7b106fc27a1bd42d92dccc6 (patch) | |
| tree | 1c0d1155ddffee6be80a1dcefa6dbf1dd4388f32 /src/ui/shape-editor-knotholders.cpp | |
| parent | Add new lib2geom dependency: "double-conversion" (diff) | |
| download | inkscape-76e18ec5cbcb2ce1f7b106fc27a1bd42d92dccc6.tar.gz inkscape-76e18ec5cbcb2ce1f7b106fc27a1bd42d92dccc6.zip | |
Replace IS_FINITE with std::isfinite (exists since C++11)
Diffstat (limited to 'src/ui/shape-editor-knotholders.cpp')
| -rw-r--r-- | src/ui/shape-editor-knotholders.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/shape-editor-knotholders.cpp b/src/ui/shape-editor-knotholders.cpp index 67c109f58..f95afbe05 100644 --- a/src/ui/shape-editor-knotholders.cpp +++ b/src/ui/shape-editor-knotholders.cpp @@ -1490,7 +1490,7 @@ SpiralKnotHolderEntityOuter::knot_set(Geom::Point const &p, Geom::Point const &/ spiral->rad = rad_new; spiral->t0 = pow(r0 / spiral->rad, 1.0/spiral->exp); } - if (!IS_FINITE(spiral->t0)) spiral->t0 = 0.0; + if (!std::isfinite(spiral->t0)) spiral->t0 = 0.0; spiral->t0 = CLAMP(spiral->t0, 0.0, 0.999); } |
