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.
issue#70
Sébastien Villemot 2013-12-27 12:18:57 +01:00
parent fe24d9bcab
commit 57d62a3171
1 changed files with 1 additions and 1 deletions

View File

@ -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 */