summaryrefslogtreecommitdiffstats
path: root/src/2geom/sbasis-roots.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2014-03-31 20:50:32 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2014-03-31 20:50:32 +0000
commit7f76e57b71213ded4ffc75f42af0f19ece24e04c (patch)
tree0f45a9b87a3c3cc667c8e234765ed2d962f5d504 /src/2geom/sbasis-roots.cpp
parentLatvian translation update (diff)
downloadinkscape-7f76e57b71213ded4ffc75f42af0f19ece24e04c.tar.gz
inkscape-7f76e57b71213ded4ffc75f42af0f19ece24e04c.zip
partial 2geom update: fix compiler error on some platforms (mavericks in any case)
(bzr r13244)
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;
}