Unverified Commit f67e9c04 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

JSON output: fix “variable_mapping” for Ramsey models

Ref. dynare#1755
parent bf1da3c6
......@@ -608,7 +608,9 @@ ModFile::transformPass(bool nostrict, bool stochastic, bool compute_xrefs, bool
// And finally perform the substitutions
dynamic_model.createVariableMapping(mod_file_struct.orig_eq_nbr +
(mod_file_struct.ramsey_model_present ?
mod_file_struct.ramsey_eq_nbr : 0));
/* Create auxiliary vars for leads and lags greater than 2, on both endos and
exos. The transformation is not exactly the same on stochastic and
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