- Apr 02, 2025
-
-
Sébastien Villemot authored
-
- Nov 28, 2024
-
-
Sébastien Villemot authored
NB: the “overwrite” option only works for the same type of “learnt_in” value, i.e. an integer-valued “learnt_in” cannot replace a date-valued “learnt_in” and vice versa.
-
Sébastien Villemot authored
-
- Nov 18, 2024
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
Dates handling inside Dynare statements was done in the Flex scanner using a hack that would introduce some extra characters in the character stream (in order to return a call to the “dates('…')” constructor to Bison). But this would break the column location counter, because the latter would count characters that do not exist in the user file. This commit fixes it by implementing a more natural handling of dates, adding the “dates('…')” constructor directly at the level of the semantic value.
-
- Nov 08, 2024
-
-
Sébastien Villemot authored
– Harmonize location output for warnings so that it is the same as for errors (i.e. more explicit about what is the line number and the column number) – Remove obsolete stuff for delayed error messages that should have been removed in db1f6c29. – Factorize some printing logic with ParsingDriver::undeclared_model_variable_error(). – Simplify WarningConsolidation class
-
Sébastien Villemot authored
Also do some coding style manual enforcement.
-
- Sep 09, 2024
-
-
Sébastien Villemot authored
– New “heterogeneity_dimension” statement – New option “heterogeneity” to “var”, “varexo”, “parameters”, “model” and “shocks” statements – New “SUM()” operator in “model” block
-
- Jun 12, 2024
-
-
Sébastien Villemot authored
-
- May 16, 2024
-
-
Sébastien Villemot authored
The vector of lower and upper bounds is now provided by {static,dynamic}_complementarity_conditions.m (which accepts parameters as an argument, in preparation for the possibility of having parameters in complementarity conditions). The index that denotes the reordering of equation residuals (so that the residual of an equation appears at the index of the endogenous appearing in the complementarity condition) is now in “M_.{static,dynamic}_mcp_equations_reordering”. Constraints declared through the ramsey_constraints block are also incorporated in this new interface (and therefore “M_.ramsey_model_constraints” has been removed).
-
- Apr 15, 2024
-
-
Sébastien Villemot authored
The symbol can be either input: – as ⟂ in UTF-8 (codepoint U+27C2) – or as _|_ in ASCII The old syntax using the “mcp” tag is now obsolete, but kept for backward compatibility.
-
- Dec 19, 2023
-
-
Sébastien Villemot authored
Closes: #124
-
- Dec 14, 2023
-
-
Sébastien Villemot authored
The old name is still accepted, but will trigger a deprecation warning.
-
- Dec 01, 2023
-
-
Sébastien Villemot authored
Automatically detected using clang-tidy with bugprone-reserved-identifier check. By the way, homogeneize the define identifiers in relation to camel case convention.
-
Sébastien Villemot authored
Automatically detected using clang-tidy with modernize-use-nodiscard check.
-
- Nov 30, 2023
-
-
Sébastien Villemot authored
-
- Nov 15, 2023
-
-
Sébastien Villemot authored
NB: does not (yet) works with Occbin regime-specific equations. Ref. dynare#1890
-
- Nov 14, 2023
-
-
Sébastien Villemot authored
Incidentally, makes tag names case-insensitive in “model_replace” and “model_remove”, which is consistent with tag declarations.
-
- Oct 18, 2023
-
-
Sébastien Villemot authored
-
- Oct 17, 2023
-
-
Sébastien Villemot authored
-
- Oct 16, 2023
-
-
Sébastien Villemot authored
Currently defaults to 0.
-
- Oct 10, 2023
-
-
Sébastien Villemot authored
-
- Oct 06, 2023
-
-
Sébastien Villemot authored
For consistency with other such classes, since it represents the homotopy_setup block.
-
- Sep 14, 2023
-
-
- Jan 16, 2023
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
- Oct 11, 2022
-
-
Sébastien Villemot authored
By the way: – improve the semantics by having a consistent treatment of empty substring components (previously, only the last one was ignored) – move it to DataTree to make it more accessible from elsewhere (even though ideally it should be in a “utilities” namespace).
-
- Oct 04, 2022
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
- Sep 13, 2022
-
-
Sébastien Villemot authored
If block decomposition fails, error out if “block” option was passed, but not otherwise. This commit does not modify the generated files. This is a preliminary step for dynare#1859.
-
- Jun 08, 2022
-
-
Sébastien Villemot authored
-
- May 18, 2022
-
-
Sébastien Villemot authored
The vectors were previously stored as strings internally, which would not necessarily contain the commas which are required in JSON (but not in MATLAB/Octave). The fix consists in internally storing those options as std::vector. Closes: #96
-
Sébastien Villemot authored
We follow the advice given by Josuttis in his book about move semantics. Deleting those member fuctions can be a bug if we want to allow copy semantics, because overload resolution will no longer fallback to the copy constructor/assignment operator when given an rvalue. In particular, this explain why it was not possible to delete the move assignment operator of the StaticModel class.
-
- May 16, 2022
-
-
Sébastien Villemot authored
Incidentally, in the JSON output, no longer assign a value to the “periods” field if not passed by the user (previously the value -1 was output in the JSON file).
-
- May 03, 2022
-
-
Sébastien Villemot authored
Incidentally, forbid exogenous deterministic variables in “endval” blocks.
-
- Apr 26, 2022
-
-
Sébastien Villemot authored
-
- Apr 21, 2022
-
-
Sébastien Villemot authored
– heteroskedastic_shocks block – generate_irfs command – new estimation syntax
-
Sébastien Villemot authored
For use with perfect_foresight_with_expectation_errors_setup.
-
- Mar 30, 2022
-
-
Sébastien Villemot authored
When an endogenous is declared with “var(log)”, say “y”: – creates an auxiliary named “LOG_y” – replaces “y(±l)” everywhere by “exp(LOG_y(±l))” – adds a new auxiliary equation “y=exp(LOG_y)” – adds a new definition “LOG_y=log(y)” in set_auxiliary_variables.m and dynamic_set_auxiliary_series.m files This option also works in conjunction with “deflator=…”, such as “var(log, deflator=…)” (the “log” must appear befor “deflator”). There are no provisions for combining “log” with “log_deflator”, because that would not make much sense from an economic point of view (amounts to taking the log two times). Ref. dynare#349
-
Sébastien Villemot authored
-