Preprocessor: fix for 'steady_state_model' when not computing Ramsey policy'
parent
ade0cd9d26
commit
996a646d8f
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue