mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fixed index that would cause crash with two point, two derivative interpolation. Added static_cast.
This commit is contained in:
@@ -128,7 +128,7 @@ namespace Eigen
|
||||
|
||||
newKnotIndex = -1;
|
||||
|
||||
ParameterVectorType temporaryParameters(numParameters);
|
||||
ParameterVectorType temporaryParameters(numParameters + 1);
|
||||
KnotVectorType derivativeKnots(numInternalDerivatives);
|
||||
for (unsigned int i = 0; i < numAverageKnots - 1; ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user