Skip to content
Snippets Groups Projects
Commit a8dec6ad authored by sebastien's avatar sebastien
Browse files

trunk preprocessor: fixed bug when loading non-existent steady-state file

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2753 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 5886d3f0
Branches
Tags
No related merge requests found
......@@ -255,7 +255,7 @@ LoadParamsAndSteadyStateStatement::LoadParamsAndSteadyStateStatement(const strin
ifstream f;
f.open(filename.c_str(), ios::in);
if (f.bad())
if (f.fail())
{
cerr << "ERROR: Can't open " << filename << 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