- Jul 22, 2024
-
-
Sébastien Villemot authored
Uses: – structured bindings – std::map::contains and std::map::at – std::boolalpha and std::noboolalpha
-
- Dec 13, 2023
-
-
Sébastien Villemot authored
Automatically detected by clang-tidy using performance-for-range-copy check.
-
- Dec 12, 2023
-
-
Sébastien Villemot authored
If the user did not specify the GlobalInitFile option, use global_init.m in configuration directory if it exists.
-
Sébastien Villemot authored
There was some overengineering related to the Hook class.
-
Sébastien Villemot authored
– under Linux and macOS, use the “dynare” subdirectory of the configuration directory specified by the XDG specification – under Windows, use the “dynare” subdirectory of the Application Data folder The old location is kept for backward compatibility, with a warning.
-
- Dec 11, 2023
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
In particular, makes clearer the distinction between configuration and configuration file. The former includes information that is not in the latter (command-line options.)
-
- Dec 04, 2023
-
-
Sébastien Villemot authored
[skip ci]
-
- Nov 30, 2023
-
-
Sébastien Villemot authored
-
- Sep 22, 2023
-
-
Sébastien Villemot authored
-
- May 11, 2023
-
-
Johannes Pfeifer authored
-
- Apr 11, 2023
-
-
Sébastien Villemot authored
Adapt the code accordingly.
-
- Mar 23, 2023
-
-
Sébastien Villemot authored
By the way, remove a redundant Cluster{} constructor call.
-
- Jan 05, 2023
-
-
Sébastien Villemot authored
-
- 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 20, 2022
-
-
Sébastien Villemot authored
-
- Jun 15, 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 04, 2022
-
-
Sébastien Villemot authored
-
- Jun 09, 2021
-
-
Sébastien Villemot authored
-
- May 06, 2021
-
-
Sébastien Villemot authored
Ref. dynare!1843
-
- Nov 13, 2020
-
-
Sébastien Villemot authored
This is a partial revert of f022f666 Ref. dynare#1748
-
- Feb 18, 2020
-
-
Houtan Bastani authored
-
- Feb 13, 2020
-
-
Houtan Bastani authored
-
Houtan Bastani authored
-
- Dec 20, 2019
-
-
Sébastien Villemot authored
-
- Dec 16, 2019
-
-
Sébastien Villemot authored
-
- Oct 04, 2019
-
-
Houtan Bastani authored
-
- Apr 23, 2019
-
-
Houtan Bastani authored
-
- Apr 16, 2019
-
-
Sébastien Villemot authored
-
- Dec 03, 2018
-
-
Sébastien Villemot authored
-
- Oct 04, 2018
-
-
Sébastien Villemot authored
The syntax makes clearer the distinction between a function call and an initialization. Also, it prevents bugs due to implicit type conversions.
-
- Jul 04, 2018
-
-
Sébastien Villemot authored
- no longer use pointers - use pass-by-value when possible - use range-for loops when possible
-
Sébastien Villemot authored
Most cases can be handled in C++11 by std::stoi() and std::stod(). For the macroprocessor ArrayMV<T>::print() method, use template specialization (instead of a lexical_cast to detect between T=int and T=string).
-
Sébastien Villemot authored
The latter accepts a std::string as argument.
-
- Jun 27, 2018
-
-
Sébastien Villemot authored
-
- Jun 05, 2018
-
-
Sébastien Villemot authored
-
- Jun 04, 2018
-
-
Sébastien Villemot authored
In C++11, it is no longer necessary to put a space between two consecutive ">".
-
Sébastien Villemot authored
Performed using modernize-use-nullptr from clang-tidy. https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
-