- Mar 13, 2025
-
-
Sébastien Villemot authored
-
- Dec 27, 2024
-
-
Sébastien Villemot authored
-
- Nov 20, 2024
-
-
Sébastien Villemot authored
– enable new options InsertNewlineAtEOF and RemoveSemicolon – reformat the code accordingly
-
- 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
-
- Jul 17, 2024
-
-
Sébastien Villemot authored
[skip ci]
-
- 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).
-
- Mar 07, 2024
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
- Jan 31, 2024
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
- Dec 14, 2023
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
- Dec 13, 2023
-
-
Sébastien Villemot authored
Automatically detected by clang-tidy with performance-move-const-arg check. Do not make the modification for Tokenizer::location type, since we have no guarantee that the type will remain trivially-copyable in the future.
-
- Dec 04, 2023
-
-
Sébastien Villemot authored
Also add some annotations to remove some false positives. There remain some boost-related false positives, it’s unclear how to suppress them.
-
- 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
-
Sébastien Villemot authored
Automatically detected using clang-tidy with modernize-use-nodiscard check.
-
- Nov 30, 2023
-
-
Sébastien Villemot authored
-
- 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.
-
- Nov 07, 2023
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
When parsing the FSTPG{2,3} opcodes, the bytecode MEX internally constructs a Jacobian with as many lines as feedback variables. But the preprocessor would also output instructions for filling derivatives of equations corresponding to recursive variables in the “evaluate” mode, thus leading to memory corruption in the bytecode MEX.
-
- Oct 16, 2023
-
-
Sébastien Villemot authored
This is a restoration of the behaviour that was present in 5.x.
-
- Oct 13, 2023
-
-
Sébastien Villemot authored
It is already available as a class member.
-
- Sep 19, 2023
-
-
Johannes Pfeifer authored
-
Johannes Pfeifer authored
-
- Jul 19, 2023
-
-
Related to dynare#1893 and dynare#1894
-
- May 12, 2023
-
-
Sébastien Villemot authored
Temporary terms computed in previous blocks were not used in the bytecode output of a given block. This was inefficient (because this means that expressions already computed and store in the temporary terms vector would be recomputed), and incidentally it would break the external functions output (because it would trigger a lookup in the “TEF terms”, which would thus fail). Closes: #115
-
- Apr 24, 2023
-
-
Sébastien Villemot authored
If the model is purely backward, determine whether all original equations have a single contemporaneous endogenous on the LHS. If this is the case, then first try a normalization by enforcing that each original equation is matched with the endogenous on the LHS. This helps with the simulation of purely backward models, where equations are renormalized with mfs=3, since it produces a simpler system to be recursively evaluated/solved.
-
Sébastien Villemot authored
It would previously return a boolean. The exception is more convenient for producing a different error message in the case of the specialized algorithm introduced in the next commit.
-
Sébastien Villemot authored
-
- Apr 11, 2023
-
-
Sébastien Villemot authored
This allows the compiler to better optimize by inlining those call when worth it.
-
- Apr 07, 2023
-
-
Sébastien Villemot authored
The C99 copysign() function was used in the generated C output, but that function does not correctly handle zero. Replace it by a custom sign() function.
-
- Apr 03, 2023
-
-
Sébastien Villemot authored
-
- Mar 28, 2023
-
-
Sébastien Villemot authored
-
- Mar 20, 2023
-
-
Sébastien Villemot authored
Previously, the MinGW location was appended multiple times to the PATH variable, which in some cases would make the variable too long and thus dysfunctional. The variable is now initialized once when the worker threads are created. By the way, move the macOS+Octave environment variable initializations to the same place, for consistency.
-
- Jan 25, 2023
-
-
Sébastien Villemot authored
NB: mfs=3 is nevertheless used when “block” option has not been used, and the model is purely backward/forward or static, for solve_algo={12,14}.
-
- Jan 17, 2023
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
Note that DynamicModel::determineBlockDerivativesType(), it’s legitimate to replace max_{lead,lag} by max_endo_{lead,lag}, because for exogenous lag=lead=0, and we no longer compute derivatives w.r.t. to endogenous that do not belong to the block (so-called “other” endogenous).
-