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

Fix incorrect recursive ordering of aux vars with diff not used at current period

Ensure that all diff operators appear once with their argument at current
period (i.e. maxLag=0).
If it is not the case, generate the corresponding expressions.

This is necessary to avoid lags of more than one in the auxiliary
equation, which would then be modified by subsequent transformations
(removing lags > 1), which in turn would break the recursive ordering
of auxiliary equations.

See McModelTeam/McModelProject/issues/95 for an example.
parent 9cf3e034
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment