Skip to content
Snippets Groups Projects
Commit 81e92137 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Revert "Reset oo_.{exo_}steady_state to zero before endval"

This reverts commit 6cba6091.
parent 4f280d51
No related branches found
No related tags found
No related merge requests found
/* /*
* Copyright (C) 2003-2013 Dynare Team * Copyright (C) 2003-2012 Dynare Team
* *
* This file is part of Dynare. * This file is part of Dynare.
* *
...@@ -165,9 +165,7 @@ EndValStatement::writeOutput(ostream &output, const string &basename) const ...@@ -165,9 +165,7 @@ EndValStatement::writeOutput(ostream &output, const string &basename) const
<< "%" << endl; << "%" << endl;
// Writing endval block to set terminal values for variables // Writing endval block to set terminal values for variables
output << "ys0_= oo_.steady_state;" << endl output << "ys0_= oo_.steady_state;" << endl
<< "ex0_ = oo_.exo_steady_state;" << endl << "ex0_ = oo_.exo_steady_state;" << endl;
<< "oo_.steady_state = zeros(size(ys0_));" << endl
<< "oo_.exo_steady_state = zeros(size(ex0_));" << endl;
writeInitValues(output); writeInitValues(output);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment