Commit 06a4cdc6 authored by Claus Kleinwort's avatar Claus Kleinwort
Browse files

Bug fix for external measurements

git-svn-id: http://svnsrv.desy.de/public/GeneralBrokenLines/trunk@142 281f6f2b-e318-4fd1-8bce-1a4ba7aab212
parent 3fa9c87b
......@@ -1237,7 +1237,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, ExternalMeasurement, externalMeasurements(iExt),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment