summaryrefslogtreecommitdiffstats
path: root/src/2geom/sbasis-roots.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebronyat-signgmaildotcom>2014-04-01 00:30:50 +0000
committerLiam P. White <inkscapebronyat-signgmaildotcom>2014-04-01 00:30:50 +0000
commitf438b6b2ed8fb3013ef75832ef0763d27aa130eb (patch)
tree57dbdbd030a0efb418ff714992520fc23af4597a /src/2geom/sbasis-roots.cpp
parentUpdate to trunk (diff)
parentpartial 2geom update: (diff)
downloadinkscape-f438b6b2ed8fb3013ef75832ef0763d27aa130eb.tar.gz
inkscape-f438b6b2ed8fb3013ef75832ef0763d27aa130eb.zip
Update to trunk
(bzr r13090.1.39)
Diffstat (limited to 'src/2geom/sbasis-roots.cpp')
-rw-r--r--src/2geom/sbasis-roots.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/2geom/sbasis-roots.cpp b/src/2geom/sbasis-roots.cpp
index 813e471e8..acf4e1abc 100644
--- a/src/2geom/sbasis-roots.cpp
+++ b/src/2geom/sbasis-roots.cpp
@@ -114,7 +114,7 @@ OptInterval bounds_fast(const SBasis &sb, int order) {
res[1]=lerp(t, a+v*t, b);
}
}
- if (order>0) res*=pow(.25,order);
+ if (order>0) res*=std::pow(.25,order);
return res;
}
@@ -151,7 +151,7 @@ OptInterval bounds_local(const SBasis &sb, const OptInterval &i, int order) {
}
}
Interval res = Interval(lo,hi);
- if (order>0) res*=pow(.25,order);
+ if (order>0) res*=std::pow(.25,order);
return res;
}