Commit 996a646d authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Preprocessor: fix for 'steady_state_model' when not computing Ramsey policy'

parent ade0cd9d
......@@ -93,8 +93,10 @@ SteadyStateModel::writeSteadyStateFile(const string &basename, bool ramsey_polic
else
output << "ys_orig_";
output << ", exo_)" << endl
<< "% Steady state generated by Dynare preprocessor" << endl
<< " global M_" << endl;
<< "% Steady state generated by Dynare preprocessor" << endl;
if (!ramsey_policy)
output << " ys_=zeros(" << symbol_table.orig_endo_nbr() << ",1);" << endl;
output << " global M_" << endl;
for(size_t i = 0; i < recursive_order.size(); i++)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment