- Jan 20, 2022
-
-
Sébastien Villemot authored
Ref. dynare#1843 (cherry picked from commit 064a3dcd)
-
- Jan 12, 2022
-
-
Sébastien Villemot authored
(“endl” is defined in “ostream”) (cherry picked from commit 8c528f4f)
-
- Jan 07, 2022
-
-
Sébastien Villemot authored
-
- Jan 05, 2022
-
-
Sébastien Villemot authored
[skip ci] (cherry picked from commit 3417fb71)
-
- Dec 13, 2021
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
In a model with [static]/[dynamic] equations, if the user was using include_eqs with a list of equations that does *not* contain equations marked [static]/[dynamic], then the call to ModelTree::includeExcludeEquations(…, static_equations=true) would have an empty list of equation tags (as stored in tag_eqns). The right behaviour in this case is to exclude all static equations. However, the code would exclude none, and this would disrupt the equilibrium between [static] and [dynamic] equations (since all [dynamic] equations were excluded by the other call to the same method). The fix consists in removing the shortcut that returns from the method if tag_eqns is empty. (cherry picked from commit a73b0d91)
-
- Dec 08, 2021
-
-
Sébastien Villemot authored
-
- Dec 07, 2021
-
-
(cherry picked from commit 164e2deb)
-
Sébastien Villemot authored
This file operates on vectors. Ref. dynare#1826 (cherry picked from commit 81abea04)
-
Sébastien Villemot authored
(cherry picked from commit fe974c4c)
-
Sébastien Villemot authored
(cherry picked from commit 8d4cab6f)
-
Sébastien Villemot authored
Incidentally, this also fixes a detrending bug in the Occbin engine (since the latter internally generates a [static] equation). Ref. dynare#1827 By the way, perform a small code simplification. (cherry picked from commit 7b8fc8ed)
-
- Nov 22, 2021
-
-
Sébastien Villemot authored
Fix this by restricting the detection of constant equations to those where the variable appears without a lead or lag. Closes: #83 (cherry picked from commit 1cc51296)
-
Sébastien Villemot authored
Closes: #82 (cherry picked from commit b51f122e)
-
Sébastien Villemot authored
Closes: #81 (cherry picked from commit 02ee0776)
-
Sébastien Villemot authored
Macroprocessor: make the removal of “@#line” directives and extra newlines consistent across LF and CR+LF conventions Simplify the algorithm using only regexps, and add comments. (cherry picked from commit 1e4eadb2)
-
Sébastien Villemot authored
There were two bugs: – with the LF convention, newlines were counted twice – with the CR+LF convention, they were counted four times (because the CR was included in yyleng, alongside the LF) The fix consists in implementing a location_increment() method similar to the one used for the Dynare parser. This is the most robust solution. By the way, mark the method DynareFlex::location_increment() method static. (cherry picked from commit 1de34765)
-
Sébastien Villemot authored
If the input .mod file uses CR+LF convention, and if the user is under Windows, then the output of the macroprocessor (as given by the “savemacro” option) had incorrect end of lines: those would be CR+CR+LF. The reason is that some TextNode(s) internally created by the macroprocessor would themselves contain CR+LF sequences, which would then be transformed into CR+CR+LF in the output (because MinGW transforms LF into CR+LF in output streams). The fix consists in changing the nature of the EOL token: the parsed text is no longer attached to it, so that the Bison file now systematically turns it into a LF inside TextNode(s). Closes: #80 (cherry picked from commit 487c3729)
-
- Oct 29, 2021
-
-
Sébastien Villemot authored
By the way, also fix the argument name (the model is not a VAR). (cherry picked from commit 01233261)
-
- Oct 25, 2021
-
-
(cherry picked from commit 5bef1853)
-
- Oct 08, 2021
-
-
Sébastien Villemot authored
(cherry picked from commit 8bb8e594)
-
- Oct 06, 2021
-
-
Sébastien Villemot authored
(cherry picked from commit 78e29511)
-
- Sep 24, 2021
-
-
one of the statements being present is sufficient (cherry picked from commit b496c4ba)
-
- Sep 22, 2021
-
-
Sébastien Villemot authored
(cherry picked from commit eb006eca)
-
- Sep 21, 2021
-
-
Sébastien Villemot authored
Closes: #72 (cherry picked from commit b1274619)
-
- Sep 13, 2021
-
-
Sébastien Villemot authored
Enforce GCC with mkoctfile. Otherwise Clang will be used, and it does not accept our custom optimization flags. Ref. dynare#1797 (cherry picked from commit 3d215020)
-
- Sep 08, 2021
-
-
Sébastien Villemot authored
(cherry picked from commit 989347f4)
-
Sébastien Villemot authored
Closes: #77 (cherry picked from commit cb19ece0)
-
Sébastien Villemot authored
This check was previously only implemented in estimated_params. (cherry picked from commit 62ba9a43)
-
- Sep 01, 2021
-
-
Previously it was only generated in the case of backward PAC models. (cherry picked from commit 784dd412)
-
- Aug 31, 2021
-
-
Sébastien Villemot authored
Ref. Madysson/estimation-codes#4 (cherry picked from commit 6863494d)
-
(cherry picked from commit 3f37d969)
-
- Aug 18, 2021
-
-
Stéphane Adjemian authored
(cherry picked from commit 79d5a2d6)
-
- Aug 16, 2021
-
-
Occbin: Add missing options See merge request !49
-
- Jul 23, 2021
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
Move results file to output folder See merge request !48
-
- Jul 22, 2021
-
-
Johannes Pfeifer authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
Introduce option consider_all_endogenous_and_auxiliary See merge request !46
-