Skip to content
Snippets Groups Projects
Verified Commit f05b552f authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

PAC: correctly handle log() and diff() operators in the equation defining the target

By default, the preprocessor substitutes logs and diffs by auxiliary variables
only in equations of auxiliary models (VAR, PAC). Hence they are not
substituted in the equation defining the target, since it is outside the
auxiliary model.

The fix consists in doing the substitution in that equation as well, when we
parse the linear combination within that equation.

Ref. dynare#1837
parent 8c528f4f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment