Commit 57d62a31 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

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.
parent fe24d9bc
......@@ -215,7 +215,7 @@ private:
bool nostrict;
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 */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment