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

This reverts commit cf146ec4e5.
time-shift
Sébastien Villemot 2013-05-27 17:31:41 +02:00
parent bd72848d27
commit 9ba5ffd68e
1 changed files with 2 additions and 4 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2003-2013 Dynare Team * Copyright (C) 2003-2012 Dynare Team
* *
* This file is part of Dynare. * This file is part of Dynare.
* *
@ -245,9 +245,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);
} }