Preprocessor: fix for 'steady_state_model' when not computing Ramsey policy'
parent
851dcc88a6
commit
c54f60dd23
|
@ -93,8 +93,10 @@ SteadyStateModel::writeSteadyStateFile(const string &basename, bool ramsey_polic
|
||||||
else
|
else
|
||||||
output << "ys_orig_";
|
output << "ys_orig_";
|
||||||
output << ", exo_)" << endl
|
output << ", exo_)" << endl
|
||||||
<< "% Steady state generated by Dynare preprocessor" << endl
|
<< "% Steady state generated by Dynare preprocessor" << endl;
|
||||||
<< " global M_" << 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++)
|
for(size_t i = 0; i < recursive_order.size(); i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue