summaryrefslogtreecommitdiffstats
path: root/src/2geom/sbasis-roots.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-04-01 17:00:00 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-04-01 17:00:00 +0000
commit208ccdf9782984702f79b8ba416e67dd1e2c2dfa (patch)
tree79d15123aa526c49c6386db6245fbfc6b7a63eaf /src/2geom/sbasis-roots.cpp
parentupdate to trunk (diff)
parentpartial 2geom update: (diff)
downloadinkscape-208ccdf9782984702f79b8ba416e67dd1e2c2dfa.tar.gz
inkscape-208ccdf9782984702f79b8ba416e67dd1e2c2dfa.zip
update to trunk
(bzr r12588.1.32)
Diffstat (limited to '')
-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;
}