Skip to content
Snippets Groups Projects
Forked from Dynare / preprocessor
Loading
Sébastien Villemot's avatar
Sébastien Villemot authored
Those methods can return a negative value in some cases. For example,
maxLead(x₋₁) = −1.

But constants were always returning a value of zero, which means that we had
inconsistent behaviour like maxLead(x₋₁ + 2) = 0.

This commits fixes the behaviour by making these methods return the smallest
possible integer when called on constants.
c5d223a7
History
Name Last commit Last update