From 6f93b18802e13a8b8df5577afc866d6250c27b41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Thu, 13 Jan 2011 18:18:57 +0100 Subject: [PATCH] Fix bug in histval with exogenous variables in a stochastic setup --- preprocessor/NumericalInitialization.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/preprocessor/NumericalInitialization.cc b/preprocessor/NumericalInitialization.cc index 1a16c232c..9a67b05fa 100644 --- a/preprocessor/NumericalInitialization.cc +++ b/preprocessor/NumericalInitialization.cc @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2010 Dynare Team + * Copyright (C) 2003-2011 Dynare Team * * This file is part of Dynare. * @@ -202,7 +202,7 @@ HistValStatement::writeOutput(ostream &output, const string &basename) const // This function call must remain the 1st statement in this block symb_id = symbol_table.searchAuxiliaryVars(symb_id, lag); lag = 0; - type == eEndogenous; + type = eEndogenous; } catch (SymbolTable::SearchFailedException &e) {