Commits on Source (38)
-
Sébastien Villemot authored
Also do some coding style manual enforcement.
-
Sébastien Villemot authored
– Harmonize location output for warnings so that it is the same as for errors (i.e. more explicit about what is the line number and the column number) – Remove obsolete stuff for delayed error messages that should have been removed in db1f6c29. – Factorize some printing logic with ParsingDriver::undeclared_model_variable_error(). – Simplify WarningConsolidation class
-
Sébastien Villemot authored
Dates handling inside Dynare statements was done in the Flex scanner using a hack that would introduce some extra characters in the character stream (in order to return a call to the “dates('…')” constructor to Bison). But this would break the column location counter, because the latter would count characters that do not exist in the user file. This commit fixes it by implementing a more natural handling of dates, adding the “dates('…')” constructor directly at the level of the semantic value.
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
[skip ci]
-
Sébastien Villemot authored
-
Sébastien Villemot authored
– enable new options InsertNewlineAtEOF and RemoveSemicolon – reformat the code accordingly
-
Sébastien Villemot authored
-
Sébastien Villemot authored
Automatically detected using clang-tidy with modernize-use-nodiscard check.
-
Sébastien Villemot authored
Automatically detected by clang-tidy using modernize-use-equals-default check.
-
Johannes Pfeifer authored
-
Sébastien Villemot authored
Allow non_zero option in steady command See merge request !109
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
New options {first,last}_simulation_period to perfect_foresight{,with_expectation_errors}_setup commands
-
Sébastien Villemot authored
-
Sébastien Villemot authored
NB: the “overwrite” option only works for the same type of “learnt_in” value, i.e. an integer-valued “learnt_in” cannot replace a date-valued “learnt_in” and vice versa.
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
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
-
Sébastien Villemot authored
-
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.
-
Sébastien Villemot authored
-
Stéphane Adjemian authored
Use simulation of the model, based on a first order approximation, as an initial guess for the solver in each period.
-
Sébastien Villemot authored
Ref. dynare#1949
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
Sébastien Villemot authored
Implement the fix that is already present in assignment operator (in particular for dynare#1782).
-
Sébastien Villemot authored
By the way, also improve the check for when the pac_expectation is used two times on the same model.
-
Stéphane Adjemian authored
-
Stéphane Adjemian authored
-
Sébastien Villemot authored
Commit 8c021084 had removed the possibility of using “residual” as a variable name. In particular, this broke the lmmcp/rbc.mod test.
-
Sébastien Villemot authored
-
Sébastien Villemot authored
Ref. dynare#1960
Showing
- .clang-format 3 additions, 0 deletions.clang-format
- .gitlab-ci.yml 14 additions, 1 deletion.gitlab-ci.yml
- src/ComputingTasks.cc 8 additions, 13 deletionssrc/ComputingTasks.cc
- src/ComputingTasks.hh 5 additions, 5 deletionssrc/ComputingTasks.hh
- src/Configuration.hh 1 addition, 1 deletionsrc/Configuration.hh
- src/DataTree.cc 4 additions, 3 deletionssrc/DataTree.cc
- src/DataTree.hh 8 additions, 2 deletionssrc/DataTree.hh
- src/DynamicModel.cc 9 additions, 2 deletionssrc/DynamicModel.cc
- src/DynamicModel.hh 3 additions, 2 deletionssrc/DynamicModel.hh
- src/DynareBison.yy 118 additions, 68 deletionssrc/DynareBison.yy
- src/DynareFlex.ll 71 additions, 110 deletionssrc/DynareFlex.ll
- src/ExprNode.cc 28 additions, 23 deletionssrc/ExprNode.cc
- src/ExprNode.hh 7 additions, 4 deletionssrc/ExprNode.hh
- src/HeterogeneityTable.hh 1 addition, 1 deletionsrc/HeterogeneityTable.hh
- src/HeterogeneousModel.cc 8 additions, 17 deletionssrc/HeterogeneousModel.cc
- src/HeterogeneousModel.hh 1 addition, 1 deletionsrc/HeterogeneousModel.hh
- src/ModFile.cc 5 additions, 4 deletionssrc/ModFile.cc
- src/ModelEquationBlock.hh 12 additions, 1 deletionsrc/ModelEquationBlock.hh
- src/ModelTree.cc 7 additions, 6 deletionssrc/ModelTree.cc
- src/ModelTree.hh 25 additions, 21 deletionssrc/ModelTree.hh
This diff is collapsed.