summaryrefslogtreecommitdiffstats
path: root/src/2geom/sbasis.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2009-01-07 22:00:50 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2009-01-07 22:00:50 +0000
commitc181f9a5ec2396ef71d1367cb61dc24f4d874eaa (patch)
treeaaad14700acc5c283e9b73e872d2a5b67cba8861 /src/2geom/sbasis.cpp
parentCmake: more fixes plus a patch for OSX paths by Henrik Gustafsson (diff)
downloadinkscape-c181f9a5ec2396ef71d1367cb61dc24f4d874eaa.tar.gz
inkscape-c181f9a5ec2396ef71d1367cb61dc24f4d874eaa.zip
update to 2geom rev.1773
mostly bugfixes (bzr r7094)
Diffstat (limited to 'src/2geom/sbasis.cpp')
-rw-r--r--src/2geom/sbasis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/2geom/sbasis.cpp b/src/2geom/sbasis.cpp
index bdc40c936..b5c1a05a7 100644
--- a/src/2geom/sbasis.cpp
+++ b/src/2geom/sbasis.cpp
@@ -70,7 +70,7 @@ std::vector<double> SBasis::valueAndDerivatives(double t, unsigned n) const {
SBasis tmp = *this;
for(unsigned i = 1; i < n+1; i++) {
tmp.derive();
- ret[i+1] = tmp.valueAt(t);
+ ret[i] = tmp.valueAt(t);
}
return ret;
}