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

Improve consistency of ExprNode methods for calculating max lead/lag

- ExprNode::maxLag() and ExprNode::maxLead() now take into account exogenous
  deterministic variables, for consistency with M_.maximum_{lead,lag}

- ExprNode::maxLag() no longer behaves as if diff() operators were
  expanded (i.e. it now returns 1 on diff(x(-1))), for consistency with
  maxEndoLag() and maxExoLag()

- New ExprNode::maxLagWithDiffsExpanded() method, that behaves as maxLag() used
  to behave (except that it also takes exogenous deterministic into account)
parent fe6d4e9b
No related branches found
No related tags found
No related merge requests found
Pipeline #408 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment