less strict handling of empty function blocks, than before

This commit is contained in:
nemu 2010-11-17 14:18:11 +00:00
parent 62d33112ba
commit 04e9d4e04f
2 changed files with 2 additions and 3 deletions

View File

@ -7,6 +7,7 @@
changes since 0.8.0 changes since 0.8.0
=================================== ===================================
FIXED fixes the inadequate attempt to use log max likelihood fit for asymmetry/non-muSR fit (MUSR-148) FIXED fixes the inadequate attempt to use log max likelihood fit for asymmetry/non-muSR fit (MUSR-148)
CHANGED less strict handling of empty FUNCTION block
CHANGED cosmetics in the y-labelling (MUSR-154) CHANGED cosmetics in the y-labelling (MUSR-154)
CHANGED maximum possible run number for the use in msr2data to numeric_limits<unsigned int>::max() (MUSR-155) CHANGED maximum possible run number for the use in msr2data to numeric_limits<unsigned int>::max() (MUSR-155)

View File

@ -2282,10 +2282,8 @@ Bool_t PMsrHandler::HandleFunctionsEntry(PMsrLines &lines)
// check if an empty FUNCTIONS block is present // check if an empty FUNCTIONS block is present
if ((fFuncHandler->GetNoOfFuncs() == 0) && !lines.empty()) { if ((fFuncHandler->GetNoOfFuncs() == 0) && !lines.empty()) {
cerr << endl << ">> PMsrHandler::HandleFunctionsEntry: **ERROR** empty FUNCTIONS block are not supported!"; cerr << endl << ">> PMsrHandler::HandleFunctionsEntry: **WARNING** empty FUNCTIONS block found!";
cerr << endl << ">> If you want to keep it, just comment the whole block ;-)";
cerr << endl; cerr << endl;
return false;
} }
return true; return true;