Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Willi Mutschler
preprocessor
Commits
f67e9c04
Unverified
Commit
f67e9c04
authored
Dec 09, 2020
by
Sébastien Villemot
Browse files
JSON output: fix “variable_mapping” for Ramsey models
Ref. dynare#1755
parent
bf1da3c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ModFile.cc
View file @
f67e9c04
...
...
@@ -608,7 +608,9 @@ ModFile::transformPass(bool nostrict, bool stochastic, bool compute_xrefs, bool
}
// And finally perform the substitutions
dynamic_model
.
substituteVarExpectation
(
var_expectation_subst_table
);
dynamic_model
.
createVariableMapping
(
original_model
.
equation_number
());
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment