- Jul 18, 2024
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
- Jun 13, 2024
-
-
Sébastien Villemot authored
-
- Apr 25, 2024
-
-
Normann Rion authored
-
- Dec 13, 2023
-
-
Sébastien Villemot authored
Automatically detected by clang-tidy using performance-for-range-copy check.
-
- Nov 30, 2023
-
-
Sébastien Villemot authored
-
- Oct 18, 2023
-
-
Sébastien Villemot authored
This is cleaner than using exit() or assert() for that purpose.
-
- Feb 28, 2023
-
-
Sébastien Villemot authored
-
- Jan 05, 2023
-
-
Sébastien Villemot authored
-
- Oct 11, 2022
-
-
Sébastien Villemot authored
– DataTree::packageDir() now takes a std::string_view, returns a std::filesystem::path, and no longer creates that directory – DataTree::writeToFileIfModified() now takes a std::filesystem::path as argument – Do not call DataTree::writeToFileIfModified() for generating MATLAB/Octave files, since it does not work (the directory inside which the file is written has been deleted by the preprocessor just before) – Consistently use DataTree::packageDir() everywhere (for compatibility with planner_objective)
-
- Sep 27, 2022
-
-
Sébastien Villemot authored
This is unsafe since the find() method can return a past-the-end iterator, which should be tested for. Replace most instances by calls to the std::map::at() method (which throws if the key is unknown), and which is incidentally more readable.
-
- Jul 11, 2022
-
-
Sébastien Villemot authored
-
- Jun 24, 2022
-
-
Sébastien Villemot authored
-
- Jun 07, 2022
-
-
Sébastien Villemot authored
In particular, use this feature in many loops which feature a special treatment for the first iteration, using a boolean variable (replacing iterator manipulation). By the way, also use std::exchange() to simultaneously test the value of this variable and update it.
-
Sébastien Villemot authored
-
- May 16, 2022
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
By the way, remove the unused TrendComponentModelTable::getOrigDiffVar() method.
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
- May 04, 2022
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
- Feb 15, 2022
-
-
Sébastien Villemot authored
Ref. Madysson/estimation-codes#19
-
- Jan 28, 2022
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
This is a more natural semantics. Incidentally, this fixes a bug in the variable mapping (M_.mapping) where some endogenous, appearing in a log() in a VAR or TCM, would not be mentioned (e.g. in the var-expectations/7/example1.mod test, and many others).
-
- Jan 25, 2022
-
-
Sébastien Villemot authored
It contains symbol IDs, so it cannot be used from MATLAB/Octave code.
-
- Jan 20, 2022
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
Creates a VarExpectationModelTable analogous to PacModelTable.
-
- Jan 18, 2022
-
-
Sébastien Villemot authored
Ref. dynare#1837
-
- Jan 17, 2022
-
-
Sébastien Villemot authored
By default, the preprocessor substitutes logs and diffs by auxiliary variables only in equations of auxiliary models (VAR, PAC). Hence they are not substituted in the equation defining the target, since it is outside the auxiliary model. The fix consists in doing the substitution in that equation as well, when we parse the linear combination within that equation. Ref. dynare#1837
-
- Jan 06, 2022
-
-
Sébastien Villemot authored
-
- Dec 16, 2021
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
Ref. Madysson/estimation-codes#5
-
Sébastien Villemot authored
Simple variable nodes are already correctly matched by ExprNode::matchLinearCombinationOfVariables(). Also improve the related documentation.
-
- Nov 23, 2021
-
-
Sébastien Villemot authored
There is no reason to keep this distinction. Additionally, since the data structure is now symmetric with the MCE case, unify this “h” parameter vector with the “α” parameter vector.
-
Sébastien Villemot authored
By the way, refactor the MCE case by merging two routines related to the Z₁ aux. var. This restores the symmetry with the backward case, now that the latter also has an aux. var. for the pac_expectation operator. Also store the aux. var. IDs in a structure common to the backward and MCE cases.
-
Sébastien Villemot authored
-
- Oct 29, 2021
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
Incidentally, the auxiliary endogenous variable representing Z₁ and created for PAC MCE models no longer necessarily appear as the first auxiliary variable (so this is effectively a revert of 64f55e4a).
-