Fixed index that would cause crash with two point, two derivative interpolation. Added static_cast.

This commit is contained in:
Jeff
2014-07-10 12:03:42 -06:00
parent 08c615f1e4
commit b1169ce40c
2 changed files with 2 additions and 2 deletions

View File

@@ -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)
{