proper RUN block number for the error message.

This commit is contained in:
suter_a 2014-12-17 15:46:45 +01:00
parent f11f9a18f1
commit c5cd11562b

View File

@ -612,7 +612,7 @@ int main(int argc, char *argv[])
for (unsigned int i=0; i < msrHandler->GetMsrRunList()->size(); i++) {
success = runListCollection->Add(i, kFit);
if (!success) {
cout << endl << ">> musrfit **ERROR** Couldn't handle run no " << i << " ";
cout << endl << ">> musrfit **ERROR** Couldn't handle run no " << i+1 << ": ";
cout << (*msrHandler->GetMsrRunList())[i].GetRunName()->Data();
break;
}