- Apr 02, 2025
-
-
Sébastien Villemot authored
Implement the fix that is already present in assignment operator (in particular for dynare#1782).
-
- Nov 06, 2024
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
- 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 19, 2024
-
-
Sébastien Villemot authored
-
- Jul 18, 2024
-
-
Sébastien Villemot authored
-
- Jul 17, 2024
-
-
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.
-
- 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
-
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.
-
- Feb 28, 2023
-
-
Sébastien Villemot authored
-
- Nov 02, 2022
-
-
Sébastien Villemot authored
The function is now provided separately by Dynare.jl.
-
- 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 12, 2022
-
-
Sébastien Villemot authored
-
MichelJuillard authored
-
MichelJuillard 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)
-
- Jun 24, 2022
-
-
Sébastien Villemot authored
As a consequence, add many [[maybe_unused]] attributes for legitimate cases (mainly in virtual functions).
-
- Jun 22, 2022
-
-
Sébastien Villemot authored
By the way, remove other unnecessary calls to that constructor.
-
- Jun 16, 2022
-
-
Sébastien Villemot authored
– a generic one: CommonEnums.hh – and a bytecode-specific one: Bytecode.hh By the way, rename global constant “near_zero” into “power_deriv_near_zero”, for clarity.
-
- May 19, 2022
-
-
Sébastien Villemot authored
-
- May 04, 2022
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
- 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
-
-
Sébastien Villemot authored
If the old file and the new contents shared a common prefix, then the output in the generated file would be truncated at the start. Ref. DynareJulia/Dynare.jl#1
-
-
- Apr 22, 2021
-
-
Sébastien Villemot authored
Ref. DynareJulia/Dynare.jl#1
-
- Apr 16, 2021
-
-
Sébastien Villemot authored
DataTree::operator=(): fix crash when symbol ID ordering of model local variables does not correspond to the recursive ordering in the model block Ref. dynare#1782
-
- Sep 29, 2020
-
-
Sébastien Villemot authored
Many recursive function on ExprNodes were not correctly recursing into the definition of model local variables.
-