From c181f9a5ec2396ef71d1367cb61dc24f4d874eaa Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Wed, 7 Jan 2009 22:00:50 +0000 Subject: update to 2geom rev.1773 mostly bugfixes (bzr r7094) --- src/2geom/sbasis.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/2geom/sbasis.cpp') 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 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; } -- cgit v1.2.3