From 0474406e3b3030695364069cbba9c4d53b40bb82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Mon, 27 May 2013 17:31:41 +0200 Subject: [PATCH] Revert "Reset oo_.{exo_}steady_state to zero before endval" This reverts commit cf146ec4e50b83bb17f6890b936d8d89e7ef6664. --- NumericalInitialization.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/NumericalInitialization.cc b/NumericalInitialization.cc index 3b74bf32..1c26d74f 100644 --- a/NumericalInitialization.cc +++ b/NumericalInitialization.cc @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2013 Dynare Team + * Copyright (C) 2003-2012 Dynare Team * * This file is part of Dynare. * @@ -245,9 +245,7 @@ EndValStatement::writeOutput(ostream &output, const string &basename) const << "%" << endl; // Writing endval block to set terminal values for variables output << "ys0_= oo_.steady_state;" << endl - << "ex0_ = oo_.exo_steady_state;" << endl - << "oo_.steady_state = zeros(size(ys0_));" << endl - << "oo_.exo_steady_state = zeros(size(ex0_));" << endl; + << "ex0_ = oo_.exo_steady_state;" << endl; writeInitValues(output); }