Skip to content
Snippets Groups Projects
Unverified Commit b3421a12 authored by Tadeas Bilka's avatar Tadeas Bilka Committed by GitHub
Browse files

Bugfix in composed trajectories

Ad-hoc fix of bug of treatment of additional local parameters in composed trajectories.
parent 4fed1d85
Branches
No related tags found
No related merge requests found
......@@ -994,7 +994,7 @@ void GblTrajectory::prepare() {
std::vector<double> derivatives(numCurvature);
for (unsigned int iExt = 0; iExt < nExt; ++iExt) {
for (unsigned int iCol = 0; iCol < numCurvature; ++iCol) {
index[iCol] = iCol + 1;
index[iCol] = numLocals + iCol + 1;
derivatives[iCol] = externalDerivatives(iExt, iCol);
}
GblData aData(1U, externalMeasurements(iExt),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment