Commit d13d5b30 authored by adjemian's avatar adjemian
Browse files

Bug correction. Initialization of deterministic simulations was buggy when we...

Bug correction. Initialization of deterministic simulations was buggy when we start from an arbitrary initial condition (ie when steady is not used after initval).

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1695 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 672494a7
......@@ -90,7 +90,7 @@ InitValStatement::writeOutput(ostream &output, const string &basename) const
writeInitValues(output);
output << "oo_.y_simul=[oo_.steady_state*ones(1,M_.maximum_lag)];\n";
output << "oo_.endo_simul=[oo_.steady_state*ones(1,M_.maximum_lag)];\n";
output << "if M_.exo_nbr > 0;\n";
output << "\too_.exo_simul = [ones(M_.maximum_lag,1)*oo_.exo_steady_state'];\n";
output <<"end;\n";
......
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