bug_fix: missing exit statement

issue#70
Houtan Bastani 2012-01-04 12:11:35 +01:00
parent 83b6b0145d
commit e8e84b970b
1 changed files with 5 additions and 4 deletions

View File

@ -1298,6 +1298,7 @@ SvarIdentificationStatement::writeOutput(ostream &output, const string &basename
{ {
cerr << "ERROR: lag =" << it->lag << ", num endog vars = " << n << "current endog var index = " << it->variable << ". Index " cerr << "ERROR: lag =" << it->lag << ", num endog vars = " << n << "current endog var index = " << it->variable << ". Index "
<< "out of bounds. If the above does not represent a logical error, please report this to the Dyanre Team." << endl; << "out of bounds. If the above does not represent a logical error, please report this to the Dyanre Team." << endl;
exit(EXIT_FAILURE);
} }
output << "options_.ms.Ri{" << it->equation << "}(" << it->restriction_nbr << ", " << col << ") = "; output << "options_.ms.Ri{" << it->equation << "}(" << it->restriction_nbr << ", " << col << ") = ";
it->value->writeOutput(output); it->value->writeOutput(output);