Commits on Source (86)
-
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.
-
Sébastien Villemot authored
It would return an incorrect result. This had no impact except for debugging information.
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
It maps column indices in the Jacobian returned by bytecode MEX in evaluate mode (which only contains nonzero columns, but also incorporate recursive variables), into column indices in the sparse representation (which has 3×n columns for two-boundaries blocks and n columns for one-boundary blocks). Columns unused in the sparse representation are indicated by a zero.
-
Sébastien Villemot authored
-
Johannes Pfeifer authored
-
Sébastien Villemot authored
preprocessor.tex: modernizations and typo corrections See merge request Dynare/preprocessor!92
-
Johannes Pfeifer authored
-
Sébastien Villemot authored
preprocessor.tex: further updates See merge request Dynare/preprocessor!93
-
Sébastien Villemot authored
Closes: #104
-
Sébastien Villemot authored
Incidentally, makes tag names case-insensitive in “model_replace” and “model_remove”, which is consistent with tag declarations.
-
Johannes Pfeifer authored
-
Sébastien Villemot authored
preprocessor.tex: add slides on verbatim block and command line options See merge request Dynare/preprocessor!94
-
Sébastien Villemot authored
NB: does not (yet) works with Occbin regime-specific equations. Ref. dynare#1890
-
Sébastien Villemot authored
-
Sébastien Villemot authored
Ref. dynare#1907
-
Sébastien Villemot authored
-
Sébastien Villemot authored
[skip ci]
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
Automatically detected using clang-tidy with modernize-use-nodiscard check.
-
Sébastien Villemot authored
-
Sébastien Villemot authored
Automatically detected using clang-tidy with modernize-use-emplace check.
-
Sébastien Villemot authored
Avoids an unnecessary copy.
-
Sébastien Villemot authored
Automatically detected using clang-tidy with modernize-loop-convert check.
-
Sébastien Villemot authored
-
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.
-
Johannes Pfeifer authored
-
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.
-
Sébastien Villemot authored
[skip ci]
-
Sébastien Villemot authored
Remove globals from dynare_sensitivity and dynare_identification See merge request Dynare/preprocessor!95
-
Sébastien Villemot authored
It would mishandle trailing slashes or backslashes in std::filesystem::path, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88881 The bug is now fixed in the version of MinGW in Debian “bookworm” 12. Ref. Madysson/estimation-codes#11
-
Sébastien Villemot authored
There is actually no bug in MinGW. The different behaviour under Windows is expected, because the implicit conversion there is only to std::wstring.
-
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.)
-
Sébastien Villemot authored
-
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.
-
Sébastien Villemot authored
There was some overengineering related to the Hook class.
-
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
Automatically detected by clang-tidy using performance-unnecessary-value-param check.
-
Sébastien Villemot authored
Automatically detected by clang-tidy using performance-for-range-copy check.
-
Sébastien Villemot authored
Automatically detected by clang-tidy using the performance-faster-string-find check.
-
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.
-
Sébastien Villemot authored
Automatically detected by clang-tidy using performance-inefficient-vector-operation check.
-
Sébastien Villemot authored
Automatically detected by clang-tidy using performance-inefficient-string-concatenation check. Several of the detected cases are left unattended, because the syntax is more elegant as it is, and they are not performance-critical.
-
Sébastien Villemot authored
-
Johannes Pfeifer authored
-
Johannes Pfeifer authored
dr_block has been removed
-
Johannes Pfeifer authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
Ref. !98
-
Sébastien Villemot authored
Ref. !97
-
Sébastien Villemot authored
Ref. !96
-
Sébastien Villemot authored
The old name is still accepted, but will trigger a deprecation warning.
-
Johannes Pfeifer authored
-
Johannes Pfeifer authored
-
-
Sébastien Villemot authored
Add steady_state_model_present field to modfile.json See merge request Dynare/preprocessor!100
-
Sébastien Villemot authored
Remove globals from extended path See merge request Dynare/preprocessor!99
-
Sébastien Villemot authored
-
Sébastien Villemot authored
Closes: #124
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
In particular, emit more explicit error messages in the presence of inconsistencies. Closes: #103
-
Sébastien Villemot authored
Ref. dynare#1918
-
Sébastien Villemot authored
By the way, also improve the terminology used in variable and method names: a “constraint” is something like “ZLB” or “INEG”, a regime is a state in which constraints are either binding or relaxed. Really closes: #103
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
Closes: #127
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
Showing
- .clang-format 19 additions, 0 deletions.clang-format
- .clang-tidy 8 additions, 0 deletions.clang-tidy
- .gitlab-ci.yml 11 additions, 2 deletions.gitlab-ci.yml
- doc/preprocessor/preprocessor.tex 207 additions, 131 deletionsdoc/preprocessor/preprocessor.tex
- meson.build 2 additions, 1 deletionmeson.build
- src/Bytecode.cc 24 additions, 21 deletionssrc/Bytecode.cc
- src/Bytecode.hh 380 additions, 678 deletionssrc/Bytecode.hh
- src/CommonEnums.hh 113 additions, 108 deletionssrc/CommonEnums.hh
- src/ComputingTasks.cc 1279 additions, 1153 deletionssrc/ComputingTasks.cc
- src/ComputingTasks.hh 530 additions, 435 deletionssrc/ComputingTasks.hh
- src/Configuration.cc 824 additions, 0 deletionssrc/Configuration.cc
- src/Configuration.hh 126 additions, 0 deletionssrc/Configuration.hh
- src/DataTree.cc 101 additions, 98 deletionssrc/DataTree.cc
- src/DataTree.hh 108 additions, 91 deletionssrc/DataTree.hh
- src/DynamicModel.cc 1100 additions, 792 deletionssrc/DynamicModel.cc
- src/DynamicModel.hh 380 additions, 247 deletionssrc/DynamicModel.hh
- src/DynareBison.yy 518 additions, 386 deletionssrc/DynareBison.yy
- src/DynareFlex.ll 21 additions, 15 deletionssrc/DynareFlex.ll
- src/DynareMain.cc 63 additions, 56 deletionssrc/DynareMain.cc
- src/EquationTags.cc 43 additions, 33 deletionssrc/EquationTags.cc
.clang-format
0 → 100644
.clang-tidy
0 → 100644
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.