From c5cd11562b32f78c971aba7fe55fb57ad6c4c051 Mon Sep 17 00:00:00 2001 From: Suter Andreas Date: Wed, 17 Dec 2014 15:46:45 +0100 Subject: [PATCH] proper RUN block number for the error message. --- src/musrfit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/musrfit.cpp b/src/musrfit.cpp index e1f303d2..060534f0 100644 --- a/src/musrfit.cpp +++ b/src/musrfit.cpp @@ -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; }