preprocessor: fix error message for InitParamStatement clone/reindex method

time-shift
Houtan Bastani 2015-04-09 16:17:47 +02:00
parent c71d1e77a9
commit a8888f4c70
1 changed files with 2 additions and 1 deletions

View File

@ -84,7 +84,8 @@ InitParamStatement::cloneAndReindexSymbIds(DataTree &dynamic_datatree, SymbolTab
}
catch (...)
{
cerr << "ERROR: encountered in InitParamStatement::cloneAndReindexSymbIds. Should not arrive here" << endl;
cerr << "ERROR: A variable in the init_param statement was not found in the symbol table" << endl
<< " This likely means that you have declared a varexo that is not used in the model" << endl;
exit(EXIT_FAILURE);
}
}