From 9ba5ffd68e47cd41b936508dc45199a5e3c55a91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
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.
---
 preprocessor/NumericalInitialization.cc | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/preprocessor/NumericalInitialization.cc b/preprocessor/NumericalInitialization.cc
index 3b74bf32de..1c26d74f55 100644
--- a/preprocessor/NumericalInitialization.cc
+++ b/preprocessor/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);
 }
-- 
GitLab