fixing problems for computing steady state in ramsey policy

issue#70
Michel Juillard 2011-11-14 21:58:53 +01:00
parent 8dde155e28
commit da0d2ab8ef
1 changed files with 1 additions and 2 deletions

View File

@ -116,8 +116,7 @@ SteadyStateModel::writeSteadyStateFile(const string &basename, bool ramsey_polic
output << "function [ys_, params, info] = " << basename << "_steadystate2("
<< "ys_, exo_, params)" << endl
<< "% Steady state generated by Dynare preprocessor" << endl
<< " info = 0;" << endl
<< " ys_ = zeros(" << symbol_table.endo_nbr() << ",1);" << endl;
<< " info = 0;" << endl;
for (size_t i = 0; i < recursive_order.size(); i++)
{