- Dec 27, 2024
-
-
Sébastien Villemot authored
However do not set that option permanently (and also disable RemoveSemicolon by default), since the clang-format manual states that these options can lead to incorrect formatting and thus their result should be carefully reviewed.
-
- Dec 24, 2024
-
-
Sébastien Villemot authored
The regression was introduced in commit 84d792bc, when leads/lags were allowed on model-local variables. The treatment of model-local variables without leads/lags was negatively impacted. This commit fixes the regression by restoring the former behaviour for model-local variables without leads/lags. Reported on https://forum.dynare.org/t/pre-processing-takes-very-long/26865 Ref. dynare#1929
-
- 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 07, 2024
-
-
Sébastien Villemot authored
Rather use the data member which already exists.
-
- Jun 05, 2024
-
-
Sébastien Villemot authored
Ref. dynare#1929
-
- 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
Automatically detected using clang-tidy with modernize-use-nodiscard check.
-
- Nov 30, 2023
-
-
Sébastien Villemot authored
-
- Jul 07, 2023
-
-
Sébastien Villemot authored
Initialization with initalizer list is nicer. And, more importantly, initialization with parentheses is not supported by Clang < 16.
-
- 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.
-
- Mar 23, 2023
-
-
Sébastien Villemot authored
Use map::{try,}emplace() instead of operator[], which should in theory be slightly faster.
-
- Nov 02, 2022
-
-
Sébastien Villemot authored
The function is now provided separately by Dynare.jl.
-
Sébastien Villemot authored
The new representation is only supported for MATLAB/Octave, C and Julia output for the time being. Bytecode and JSON are unsupported. This commit adds new fields in M_. This is a preliminary step for dynare#1859.
-
- 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)
-
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).
-
- Jul 20, 2022
-
-
Sébastien Villemot authored
By the way, turn those classes into structs since all their members are public.
-
- Jul 12, 2022
-
-
Sébastien Villemot authored
-
- Jul 11, 2022
-
-
Sébastien Villemot authored
– factorize common code between the static and the dynamic version – reorganise language-specific code into dedicated functions – use a function template in the main helper to do some computations at compile-time (using constexpr features)
-
- May 18, 2022
-
-
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 02, 2022
-
-
Sébastien Villemot authored
Ref. dynare#1852
-
- Jan 06, 2022
-
-
Sébastien Villemot authored
Otherwise clang emits this warning: using directive refers to implicitly-defined namespace 'std'
-
- Dec 16, 2021
-
-
Sébastien Villemot authored
Ref. Madysson/estimation-codes#5
-
- Dec 07, 2021
-
-
Sébastien Villemot authored
Closes: #85
-
- Jul 21, 2021
-
-
-
Sébastien Villemot authored
-
- Jul 13, 2021
-
-
Sébastien Villemot authored
This option tells the preprocessor not to use the commutativity of addition and multiplication when looking for common subexpressions. As a consequence, when using this option, equations in various outputs (LaTeX, JSON…) will appear as the user entered them. There is however a potential performance cost to using this option, yet to be determined. Ref. dynare#1788
-
- Jun 09, 2021
-
-
Sébastien Villemot authored
-
- Apr 26, 2021
-
-
- Apr 22, 2021
-
-
Sébastien Villemot authored
Ref. DynareJulia/Dynare.jl#1
-
- Jun 23, 2020
-
-
Sébastien Villemot authored
-
- May 29, 2020
-
-
Sébastien Villemot authored
Also, do various other cosmetic/simplification changes.
-
- Apr 02, 2020
-
-
Sébastien Villemot authored
This permits some simplifications.
-
- Dec 20, 2019
-
-
Sébastien Villemot authored
-
- Dec 16, 2019
-
-
Sébastien Villemot authored
-
- Sep 10, 2019
-
-
Houtan Bastani authored
stop processing when certain functions are used in a linear context on endogenous/exogenous variables. closes dynare#1537
-
- Jul 15, 2019
-
-
Houtan Bastani authored
-
- Apr 16, 2019
-
-
Sébastien Villemot authored
-