Skip to content
Snippets Groups Projects
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

Dynare Preprocessor

The Dynare Preprocessor defines the Dynare model language. It takes in a .mod file, computes the derivatives of the model represented therein, and produces MATLAB/Octave, C, Julia, or JSON output.

There is more to come here. For the moment, see the Dynare repository

License

Most of the source files are covered by the GNU General Public Licence version 3 or later. There are some exceptions. See license.txt for specifics.