summaryrefslogtreecommitdiffstats
path: root/src/2geom/bezier-utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/2geom/bezier-utils.cpp')
-rw-r--r--src/2geom/bezier-utils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/2geom/bezier-utils.cpp b/src/2geom/bezier-utils.cpp
index ec17f6869..816bcdeb4 100644
--- a/src/2geom/bezier-utils.cpp
+++ b/src/2geom/bezier-utils.cpp
@@ -666,9 +666,9 @@ Point
bezier_pt(unsigned const degree, Point const V[], double const t)
{
/** Pascal's triangle. */
- static int const pascal[4][4] = {{1},
- {1, 1},
- {1, 2, 1},
+ static int const pascal[4][4] = {{1, 0, 0, 0},
+ {1, 1, 0, 0},
+ {1, 2, 1, 0},
{1, 3, 3, 1}};
assert( degree < 4);
double const s = 1.0 - t;