diff --git a/src/classes/PMsrHandler.cpp b/src/classes/PMsrHandler.cpp index f06fd76e..2a3653a3 100644 --- a/src/classes/PMsrHandler.cpp +++ b/src/classes/PMsrHandler.cpp @@ -220,6 +220,7 @@ int PMsrHandler::ReadMsrFile() unsigned int parX, parY; if (!CheckUniquenessOfParamNames(parX, parY)) { cout << endl << "PMsrHandler::ReadMsrFile: **SEVERE ERROR** parameter name " << fParam[parX].fName.Data() << " is identical for parameter no " << fParam[parX].fNo << " and " << fParam[parY].fNo << "!"; + cout << endl << "It might be that only the 10 first characters are identical. Due to a current MINUIT2 limitation, this means they are \"identical\", sorry."; cout << endl << "Needs to be fixed first!"; error = PMUSR_MSR_SYNTAX_ERROR; } @@ -2265,10 +2266,19 @@ void PMsrHandler::FillParameterInUse(PMsrLines &theory, PMsrLines &funcs, PMsrLi bool PMsrHandler::CheckUniquenessOfParamNames(unsigned int &parX, unsigned int &parY) { bool unique = true; + char name1[11], name2[11]; for (unsigned int i=0; i