Go to file
Sébastien Villemot 5b80a4db59
Unary ops substitution: bugfix, actually restrict the substitution to the chosen equations
By default, the preprocessor is supposed to only do the “unary ops”
transformation in the equations of VAR/PAC/trend component models.

However, the implementation was slightly different so far. It would detect
candidates to this transformation in the chosen equations, but it would then
perform the substitution in *all* equations.

This could lead for crashes, for example if the chosen equation contains
log(X(-1)), but another (non-chosen) equation has log(X(-2)). Then this latter
expression, even though it belongs to the same lag-equivalence class, is not
properly handled, causing a segfault.

Also do a few related cosmetic changes.
2020-07-08 15:13:14 +02:00
doc Build system: by default, error out if LaTeX distribution is not there 2019-11-26 12:39:48 +01:00
m4 Use std::filesystem instead of boost::filesystem 2019-09-11 14:47:48 +02:00
src Unary ops substitution: bugfix, actually restrict the substitution to the chosen equations 2020-07-08 15:13:14 +02:00
.gitignore macro processor 2.0 2019-06-21 16:45:17 +02:00
.gitlab-ci.yml Bump Boost version for Julia package 2020-05-27 18:38:13 +02:00
COPYING preprocessor submodule: license files 2018-02-15 11:23:47 +01:00
Makefile.am Fix source tarball creation following removal of license.txt 2020-01-22 20:14:57 +01:00
README.md Fix URLs for new Dynare website 2019-04-16 15:41:04 +02:00
configure.ac Bump version number to 4.7-unstable 2019-12-20 17:18:31 +01:00

README.md

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.