Removed spurious prints. Do better CosmoTool exception translation

This commit is contained in:
Guilhem Lavaux 2015-02-20 10:24:37 +01:00
parent 22aa572370
commit 1fe8f58105
5 changed files with 63 additions and 7 deletions

View file

@ -252,7 +252,7 @@ int readInfoFile(const char *basename, int outputId, InfoData& info)
const char *pattern = "^([A-Za-z_]+)[ ]*=[ ]*([0-9\\.E+\\-]+)";
err = regcomp (&unit_l_rx, pattern, REG_EXTENDED);
cout << unit_l_rx.re_nsub << endl;
// cout << unit_l_rx.re_nsub << endl;
if (err)
{
char errString[255];
@ -477,7 +477,7 @@ CosmoTool::SimuData *CosmoTool::loadRamsesSimu(const char *basename, int outputI
}
catch (const NoSuchFileException& e)
{
cerr << "No such file " << fname << endl;
// cerr << "No such file " << fname << endl;
delete data;
return 0;
}