diff options
author | Bo Li <prclibo@gmail.com> | 2014-03-15 08:42:20 +0800 |
---|---|---|
committer | Bo Li <prclibo@gmail.com> | 2014-03-15 08:42:20 +0800 |
commit | 4fe56a0e0207e69e652dded5263bd0066fc0e4e8 (patch) | |
tree | 33758775121b3aca600948725b469d5ae6549755 /unsupported/Eigen/src/Splines/Spline.h | |
parent | 35a2c9cde7e26ef958883297cefd44db57b1a0bb (diff) |
fix Spline constructor
Diffstat (limited to 'unsupported/Eigen/src/Splines/Spline.h')
-rw-r--r-- | unsupported/Eigen/src/Splines/Spline.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/src/Splines/Spline.h b/unsupported/Eigen/src/Splines/Spline.h index 771f10432..1b47992d6 100644 --- a/unsupported/Eigen/src/Splines/Spline.h +++ b/unsupported/Eigen/src/Splines/Spline.h @@ -57,7 +57,7 @@ namespace Eigen **/ Spline() : m_knots(1, (Degree==Dynamic ? 2 : 2*Degree+2)) - , m_ctrls(ControlPointVectorType::Zero(2,(Degree==Dynamic ? 1 : Degree+1))) + , m_ctrls(ControlPointVectorType::Zero(Dimension,(Degree==Dynamic ? 1 : Degree+1))) { // in theory this code can go to the initializer list but it will get pretty // much unreadable ... |