• Sébastien Villemot's avatar
    Modify semantics of ExprNode::countDiffs() · fe6d4e9b
    Sébastien Villemot authored
    Previously, this function was counting the total number of diff() operators in
    an expression. But this is not very useful, and is potentially misleading,
    because in practice we use this function to compute the maximum lag on
    variables in levels.
    
    This function now returns the maximum number of nested diffs.
    
    For example, on diff(x)+diff(diff(y)), this function was returning 3, and it
    now returns 2.
    fe6d4e9b
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
src Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
COPYING Loading commit data...
Makefile.am Loading commit data...
README.md Loading commit data...
configure.ac Loading commit data...
license.txt Loading commit data...