summaryrefslogtreecommitdiffstats
path: root/src/live_effects
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects')
-rw-r--r--src/live_effects/lpe-knot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/lpe-knot.cpp b/src/live_effects/lpe-knot.cpp
index d48dbd765..6ecf3ec7a 100644
--- a/src/live_effects/lpe-knot.cpp
+++ b/src/live_effects/lpe-knot.cpp
@@ -182,7 +182,7 @@ CrossingPoints::CrossingPoints(Geom::PathVector const &paths) : std::vector<Cros
}
for (auto & time : times){
//std::cout<<"intersection "<<i<<"["<<ii<<"]("<<times[k].first<<")= "<<j<<"["<<jj<<"]("<<times[k].second<<")\n";
- if ( !IS_NAN(time.first) && !IS_NAN(time.second) ){
+ if ( !std::isnan(time.first) && !std::isnan(time.second) ){
double zero = 1e-4;
if ( (i==j) && (fabs(time.first+ii - time.second-jj) <= zero) )
{ //this is just end=start of successive curves in a path.