Skip to content
Snippets Groups Projects
Commit 6df3bb78 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

preprocessor: fix error message for InitParamStatement clone/reindex method

parent bddcc87c
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment