- Nov 29, 2019
-
-
Dóra Kocsis authored
-
- Nov 28, 2019
-
-
Sébastien Villemot authored
The changes in 1ec3923a were not working as intended, because AC_CHECK_PROG expect values and not actions. Hence AC_MSG_ERROR was not properly executed.
-
- Nov 27, 2019
-
-
Sébastien Villemot authored
Closes: dynare#825
-
Sébastien Villemot authored
Closes: #33
-
- Nov 26, 2019
-
-
Sébastien Villemot authored
bugfix: forecast type option in shock_decomposition. See merge request Dynare/preprocessor!9
-
Dóra Kocsis authored
-
Sébastien Villemot authored
Master See merge request Dynare/preprocessor!8
-
Dóra Kocsis authored
-
Dóra Kocsis authored
This reverts commit 3ae92499, reversing changes made to 3ec01b86.
-
Dóra Kocsis authored
This reverts commit a37fea0d, reversing changes made to 3ae92499.
-
Houtan Bastani authored
-
Sébastien Villemot authored
introduce command line options: `exclude_eqs` and `include_eqs` See merge request Dynare/preprocessor!7
-
Houtan Bastani authored
Allows for the inclusion/exclusion of a set of equations, specified either on the command line or in a text file. If the equation has a single endogenous variable on the LHS, then the equation is moved. If not, if the equation has an `endogenous` tag then that variable is removed along with this equation. If not, then an error is thrown. As a command line argument, `exclude_eqs` can take the form (same syntax for `include_eqs`): * `exclude_eqs=eq1 to remove all equations declared as `[name=eq1]` * `exclude_eqs=[eq 1, eq 2]` to remove all equations declared as `[name=eq 1]` or `[name=eq 2]` * `exclude_eqs=[tagname=X]` to remove all equations declared as `[tagname=X]` * `exclude_eqs=[tagname=(X, Y)]` to remove all equations declared as `[tagname=X]` or `[tagname=Y]` When declared in a file, the file should be of the form: ``` eq 1 eq 2 ``` to remove all equations declared as `[name=eq 1]` or `[name=eq 2]`. It should be of the form: ``` tagname= X Y ``` to remove all equations declared as `[tagname=X]` or `[tagname=Y]`.
-
Sébastien Villemot authored
A new --disable-doc configure flag has been introduced to skip the compilation of the documentation.
-
Houtan Bastani authored
The incorrect `equal` template was being used.
-
Houtan Bastani authored
-
Houtan Bastani authored
macro processor: fix typo that caused logical or not to work when one of the arguments is Real == 1 and other arguments are false
-
Houtan Bastani authored
previously, `@#define str=""` caused an error
-
- Nov 25, 2019
-
-
Sébastien Villemot authored
fix missing tokens in the lexer: conditional, unconditional. See merge request Dynare/preprocessor!6
-
Dóra Kocsis authored
-
Sébastien Villemot authored
Add interface for forecast_shock_decomposition. See merge request Dynare/preprocessor!5
-
Dóra Kocsis authored
-
- Nov 22, 2019
-
-
Houtan Bastani authored
* only support 64 bit mex * check whether local compiler exists; if not use system compiler; if that doesn't exist stop processing * move to minimum macOS 10.9, corresponding to the MATLAB mex min
-
Houtan Bastani authored
-
- Nov 14, 2019
-
-
Sébastien Villemot authored
— Raise the default tolerance for cross-derivatives to 1e-6, to reduce the number of false positives — New option “balanced_growth_test_tol” to the “model” block for changing that tolerance — Turn back test failures into errors. Since there is now an option for controlling the tolerance, the user always has the possibility of making the test pass. Closes: dynare#1389
-
- Nov 07, 2019
-
-
Houtan Bastani authored
-
Houtan Bastani authored
fix bug causing auxiliary variables for pac growth parameters not to contain their original symbol id
-
Sébastien Villemot authored
introduce variableMapping, default equation name tags in M_ and JSON output See merge request Dynare/preprocessor!3
-
- Oct 30, 2019
-
-
Dóra Kocsis authored
-
- Oct 29, 2019
-
-
Houtan Bastani authored
-
Houtan Bastani authored
-
Houtan Bastani authored
-
Houtan Bastani authored
-
Houtan Bastani authored
-
- Oct 28, 2019
-
-
Houtan Bastani authored
-
- Oct 24, 2019
-
-
Houtan Bastani authored
-
Sébastien Villemot authored
These functions should have been deleted in 946d105c.
-
Sébastien Villemot authored
In many cases, they can be replaced by the curly braces syntax. Otherwise, we can now use the pair() and tuple() constructors, without the need to specify template parameters, thanks to class template argument deduction (new in C++17).
-
- Oct 22, 2019
-
-
Sébastien Villemot authored
This is made possible by the getLagEquivalenceClass() method introduced in the previous commit. Previously, the static version of the LHS expressions was used. As a consequence, drop ModFile::diff_static_model, now useless.
-
Sébastien Villemot authored
Previously, for testing whether two diff() expressions or two unary ops were the lead/lag of each other, the preprocessor would test whether they have the same static representation. This is ok for simple expressions (e.g. diff(x(-1))), but not for more complex ones (e.g. diff(x-y) and diff(x(-1)-y) should not be given the same auxiliary variable). This commit fixes this by properly constructing the equivalence relationship and choosing a representative within each equivalence class. See the comments above lag_equivalence_table_t in ExprNode.hh for more details. Closes #27
-