Commits on Source (75)
-
Sébastien Villemot authored
-
Houtan Bastani authored
Partial reversion of global indentation of macro processor header files introduced in e2d5a835 The global indentation introduced in e2d5a835 made the macro processor header files difficult to read. Revert spacing changes that made simple, inline, one-line functions take up 5 lines making headers tougher to read. Similary change for constructors, not to place each brace on an individual line. (cherry picked from commit f2271eb8)
-
Houtan Bastani authored
dynare#1355 (cherry picked from commit 54f73e08)
-
Houtan Bastani authored
issue dynare#1691 (cherry picked from commit 98a9c888)
-
Houtan Bastani authored
(cherry picked from commit 05f00aa3)
-
Sébastien Villemot authored
In particular, introduce a method for clearing all equations, so that tags and line numbers are also cleared. Ref. dynare#1685 (cherry picked from commit 4e2538a2)
-
Houtan Bastani authored
issue dynare#263 (cherry picked from commit d2860c4f)
-
Houtan Bastani authored
(cherry picked from commit acdfeb4e)
-
Houtan Bastani authored
(cherry picked from commit 70c3d478)
-
Houtan Bastani authored
fix bug in writing equation tags in latex output; special characters (`& % $ # _ { } ~ ^ \`) were not escaped (cherry picked from commit 15df06bf)
-
Houtan Bastani authored
(cherry picked from commit ac3eadc6)
-
(cherry picked from commit a70511e0)
-
Sébastien Villemot authored
(cherry picked from commit e4bdc022)
-
Houtan Bastani authored
macro processor: fix bug where command line arguments that began with an integer were being treated as integers even if they weren't (e.g. dates) (cherry picked from commit f00d7c4b)
-
Houtan Bastani authored
colon-separated command line arguments such as ``` dynare <<.mod file>> -DA=1:5 -DAA=1:2:5 ``` are now translated as: ``` @#define A = [1, 2, 3, 4, 5] @#define AA = [1, 3, 5] ``` (cherry picked from commit 6d1c2ca8)
-
Houtan Bastani authored
(cherry picked from commit e9049aa8)
-
Sébastien Villemot authored
The old option is left for backward-compatibility purposes, but it has the same effect as the new one. Ref. dynare#1093 (cherry picked from commit 1c44baea)
-
Sébastien Villemot authored
Previously, there could be a discrepancy if the order mandated by “identification” was less that the one mandated by “stoch_simul”. Ref. #40 (cherry picked from commit 23a08a36)
-
Sébastien Villemot authored
Ref. #40 (cherry picked from commit b0c819cb)
-
Sébastien Villemot authored
Ref. #40 (cherry picked from commit a8b7bd31)
-
Houtan Bastani authored
(cherry picked from commit 3c546ddb)
-
Sébastien Villemot authored
(cherry picked from commit 92feb083)
-
Sébastien Villemot authored
(cherry picked from commit 8496e828)
-
Sébastien Villemot authored
In particular, in the case of an 'mcp' tag, this could lead to a convergence failure. Ref. dynare#1697 (cherry picked from commit bef537d4)
-
Sébastien Villemot authored
Ref. #39
-
Houtan Bastani authored
(cherry picked from commit 148aa9d9)
-
Sébastien Villemot authored
Since fe0c781c, the discount factor would always be equal to one. Ref. dynare#1699 (cherry picked from commit ee972d96)
-
This resulted in values like `00.018` in the AST's NumConstNode which cannot be read by some JSON readers (e.g. Mathworks' jsondecode). (cherry picked from commit 985d7423)
-
If a float smaller than one in absolute value is written without a leading zero in the mod file, for instance as `.5`, we really need to prefix the number with a zero. The simplest approach is to convert the strings representing the numerical constants into floats. (cherry picked from commit 2479a2a7)
-
Houtan Bastani authored
closes #42 (cherry picked from commit 12296b62)
-
Sébastien Villemot authored
Ref. dynare#1173 (cherry picked from commit c4a9f93d)
-
Houtan Bastani authored
This only concerns the situation when `savemacro` is also passed. When `linemacro` is passed, the macro expanded .mod file is the same as before When `linemacro` is not passed, the macro expanded .mod file is equivalent to what it was before when both `noemptylinemacro` and `nolinemacro` were passed. closes #44 closes #45 (cherry picked from commit 1dbbd87d)
-
Houtan Bastani authored
(cherry picked from commit ac4749ed) # Conflicts: # src/DynareMain.cc # src/ModFile.cc
-
Houtan Bastani authored
(cherry picked from commit 976e2ae1)
-
Houtan Bastani authored
closes dynare#1708 (cherry picked from commit a778ba4a)
-
(cherry picked from commit a3fb2b12)
-
Related to Dynare/dynare#1711 (cherry picked from commit 312edf0d)
-
Sébastien Villemot authored
(cherry picked from commit 9ff10f48)
-
Sébastien Villemot authored
This is necessary to correctly compute those original model leads/lags. In particular, this is needed for correct interaction with “histval”. Closes: #47 (cherry picked from commit 7d1a467a)
-
Sébastien Villemot authored
-
(cherry picked from commit dab769c6)
-
Sébastien Villemot authored
Ref. dynare#1717 (cherry picked from commit ad48697a)
-
Sébastien Villemot authored
This would only hit for mfs=2 or mfs=3. (cherry picked from commit fb72472e)
-
Sébastien Villemot authored
-
Sébastien Villemot authored
This field is used for standard derivatives. Using it also for chain rule derivatives can only lead to wrong results. (manually cherry picked from commit 45b260cf)
-
Sébastien Villemot authored
— initially allocate correct number of non-zero elements in sparse Jacobian — avoid computing suboptimal temporary terms The ModelTree::derivative_endo structure is actually unused. Derivatives w.r.t. endogenous belonging to the block are stored in ModelTree::blocks_derivatives.
-
Sébastien Villemot authored
(manually cherry picked from commit b1a739c5)
-
Sébastien Villemot authored
Ref. dynare#1727 (manually cherry picked from commit 3ca1914e)
-
Sébastien Villemot authored
(cherry picked from commit 931935a9)
-
Sébastien Villemot authored
This is inconsistent with the way they are printed in equations (without underscores). The practice of appending underscores only makes sense in a MATLAB workspace context. (cherry picked from commit f9ab44da)
-
Sébastien Villemot authored
JSON output: when writing the model after computing pass, use TEF terms for (not derived) external functions (cherry picked from commit 7b9495bb)
-
Sébastien Villemot authored
Ref. dynare#1723 (cherry picked from commit 90b9b6a1)
-
Sébastien Villemot authored
In the driver file, provide mapping between model local variables and indices in the temporary terms vector The structures are M_.model_local_variables_{dynamic,static}_tt_idxs. Ref. dynare#1722 (cherry picked from commit b402e356)
-
Sébastien Villemot authored
(cherry picked from commit 64ebb362)
-
Sébastien Villemot authored
[skip ci]
-
Sébastien Villemot authored
Many recursive function on ExprNodes were not correctly recursing into the definition of model local variables. (manually cherry picked from commit a377fc83)
-
Sébastien Villemot authored
Ref. dynare#1747 (cherry picked from commit df8d8ef1)
-
Sébastien Villemot authored
(cherry picked from commit 5d564eed)
-
Sébastien Villemot authored
Closes: #57 (cherry picked from commit 4b8290fa)
-
Sébastien Villemot authored
[skip ci]
-
Sébastien Villemot authored
-
Sébastien Villemot authored
Ref. dynare#1755 (manually cherry picked from commit bf1da3c6)
-
Sébastien Villemot authored
Ref. dynare#1755 (cherry picked from commit f67e9c04)
-
Sébastien Villemot authored
Ref. #575 (cherry picked from commit 6efad144)
-
Sébastien Villemot authored
(cherry picked from commit f5760c33)
-
Sébastien Villemot authored
Ref. dynare#1771 (cherry picked from commit 4c14dc3f)
-
Sébastien Villemot authored
Introduced in 4c14dc3f. (cherry picked from commit 1e5de7d7)
-
Sébastien Villemot authored
Closes: #63 (manually cherry picked from commit 9274675e)
-
Sébastien Villemot authored
Those variables were substituted out by early substitution methods (which are also called on the original model, for an unknown reason). Closes: #65 (manually cherry picked from commit d3e11519)
-
Sébastien Villemot authored
See https://forum.dynare.org/t/tex-output-unwanted-subscript-t/16072 (cherry picked from commit ca4b1ba4)
-
Sébastien Villemot authored
Ref. #65 (cherry picked from commit 825b9ee8)
-
Sébastien Villemot authored
[skip ci]
-
(cherry picked from commit 6662d801)
-
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 (manually cherry picked from commit 7b3df21f)
-
Sébastien Villemot authored
The compiler setup has changed in the runners, we now use cross-compilers instead of multilib setup.
Showing
- .gitlab-ci.yml 3 additions, 3 deletions.gitlab-ci.yml
- Makefile.am 1 addition, 3 deletionsMakefile.am
- configure.ac 2 additions, 3 deletionsconfigure.ac
- license.txt 0 additions, 119 deletionslicense.txt
- src/ComputingTasks.cc 85 additions, 74 deletionssrc/ComputingTasks.cc
- src/ComputingTasks.hh 6 additions, 16 deletionssrc/ComputingTasks.hh
- src/DataTree.cc 9 additions, 4 deletionssrc/DataTree.cc
- src/DynamicModel.cc 110 additions, 52 deletionssrc/DynamicModel.cc
- src/DynamicModel.hh 8 additions, 6 deletionssrc/DynamicModel.hh
- src/DynareBison.yy 28 additions, 18 deletionssrc/DynareBison.yy
- src/DynareFlex.ll 10 additions, 2 deletionssrc/DynareFlex.ll
- src/DynareMain.cc 12 additions, 13 deletionssrc/DynareMain.cc
- src/DynareMain1.cc 6 additions, 5 deletionssrc/DynareMain1.cc
- src/DynareMain2.cc 3 additions, 3 deletionssrc/DynareMain2.cc
- src/ExprNode.cc 119 additions, 57 deletionssrc/ExprNode.cc
- src/ModFile.cc 20 additions, 14 deletionssrc/ModFile.cc
- src/ModFile.hh 1 addition, 1 deletionsrc/ModFile.hh
- src/ModelTree.cc 50 additions, 23 deletionssrc/ModelTree.cc
- src/ModelTree.hh 14 additions, 5 deletionssrc/ModelTree.hh
- src/NumericalInitialization.cc 6 additions, 2 deletionssrc/NumericalInitialization.cc
license.txt
deleted
100644 → 0