From 57d62a3171c34e2660cc0df3dddbd3294c6f2e8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Fri, 27 Dec 2013 12:18:57 +0100 Subject: [PATCH] Fix bug in deterministic conditional forecast. The type of the first shock was not set according to the user request. Concretely, it would be random, and almost always a perfect foresight shock. --- ParsingDriver.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ParsingDriver.hh b/ParsingDriver.hh index 98985b1c..017c9361 100644 --- a/ParsingDriver.hh +++ b/ParsingDriver.hh @@ -215,7 +215,7 @@ private: bool nostrict; public: - ParsingDriver(WarningConsolidation &warnings_arg, bool nostrict_arg) : warnings(warnings_arg), nostrict(nostrict_arg) { }; + ParsingDriver(WarningConsolidation &warnings_arg, bool nostrict_arg) : det_shocks_expectation_pf(false), warnings(warnings_arg), nostrict(nostrict_arg) { }; //! Starts parsing, and constructs the MOD file representation /*! The returned pointer should be deleted after use */