summaryrefslogtreecommitdiffstats
path: root/src/2geom/sbasis-math.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-07-24 19:44:32 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-07-24 19:44:32 +0000
commitee640046c8e8d720c14496461eb956e0b68e0f66 (patch)
tree85cbbc8e6f62ddfcce07d34a68e9175bb988ec08 /src/2geom/sbasis-math.cpp
parentfix a bug in refactor (diff)
parentFix a bug continuing a bezier path whith a LPE one like spiro or bspline on a... (diff)
downloadinkscape-ee640046c8e8d720c14496461eb956e0b68e0f66.tar.gz
inkscape-ee640046c8e8d720c14496461eb956e0b68e0f66.zip
update to trunk
(bzr r13973.1.15)
Diffstat (limited to 'src/2geom/sbasis-math.cpp')
-rw-r--r--src/2geom/sbasis-math.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/2geom/sbasis-math.cpp b/src/2geom/sbasis-math.cpp
index 97cdf45ce..896eb18a7 100644
--- a/src/2geom/sbasis-math.cpp
+++ b/src/2geom/sbasis-math.cpp
@@ -297,11 +297,11 @@ Piecewise<SBasis> reciprocalOnDomain(Interval range, double tol){
if (a<=tol){
reciprocal_fn.push_cut(0);
int i0=(int) floor(std::log(tol)/std::log(R));
- a=pow(R,i0);
+ a = std::pow(R,i0);
reciprocal_fn.push(Linear(1/a),a);
}else{
int i0=(int) floor(std::log(a)/std::log(R));
- a=pow(R,i0);
+ a = std::pow(R,i0);
reciprocal_fn.cuts.push_back(a);
}