Commit Graph

15295 Commits (b669d5c0dc3a4e5cd4283e5c11d0021dc6d5cd5b)

Author SHA1 Message Date
Sébastien Villemot b669d5c0dc
Emacs mode: also autoload the mode for files with .dyn extension
[skip ci]
2023-03-03 16:00:16 +01:00
Sébastien Villemot 9598afcc46
Preprocessor update
– Performance improvement of chain rule derivation (for block decomposition)
– Bugfix in derivation of external functions (a priori without consequences)
– Misc improvements and simplifications
2023-03-02 18:27:30 +01:00
Sébastien Villemot f02d66ce7c
moment_function: remove unused function 2023-03-01 16:47:42 +01:00
Sébastien Villemot a2591c474e
selif: remove unused function 2023-03-01 16:44:05 +01:00
Sébastien Villemot c51223466c
README.md: bump to latest version of x13as (1.1-b59)
[skip ci]
2023-02-28 17:45:52 +01:00
Sébastien Villemot 7fcbef5293
README.md: mention M2 and M2 PRO chips in macOS section
[skip ci]
2023-02-28 17:05:38 +01:00
Sébastien Villemot c7d2ea0a62
Bytecode: remove meaningless initializations 2023-02-24 15:29:52 -05:00
Sébastien Villemot 325e6487d4
Bytecode: move computation routines out of the Evaluate class 2023-02-24 15:18:43 -05:00
Sébastien Villemot 17df930eb9
Bytecode: remove unused function 2023-02-24 15:01:35 -05:00
Sébastien Villemot 0e1678c13a
Bytecode: no longer have instruction pointer as a member variable of Evaluate class 2023-02-24 14:30:15 -05:00
Sébastien Villemot 13b3208cdb
Bytecode: move all logic for navigating through the .cod file into the Evaluate class 2023-02-23 17:37:08 -05:00
Sébastien Villemot aaab993ccf
Bytecode: merge CodeLoad class into Evaluate 2023-02-23 11:21:22 -05:00
Sébastien Villemot 895ce96c61
Bytecode: fix memory management for FBEGINBLOCK and FCALL tags
FCALL was not properly deallocated, hence leading to a memory leak.
Also simplify the handling of FBEGINBLOCK through a std::unique_ptr.
2023-02-21 16:58:45 -05:00
Sébastien Villemot 1ad6b29936
Bytecode: misc minor simplifications 2023-02-21 16:31:08 -05:00
Sébastien Villemot 24b2976ac2
Bytecode: move CodeLoad class out of the preprocessor 2023-02-21 16:02:21 -05:00
Sébastien Villemot 845eac99d3
bicgstab_: remove unused function 2023-02-17 22:01:32 -05:00
Sébastien Villemot f5523c7bab
bksupk: remove unused function 2023-02-17 22:01:32 -05:00
Sébastien Villemot 62805b7183
perfect_foresight_simulation + bksup0: remove unused functions 2023-02-17 22:01:32 -05:00
Sébastien Villemot f938014e84
bksup1: turn into a local function of sim1_lbj 2023-02-17 22:01:32 -05:00
Sébastien Villemot 24f689b2de
restricted_steadystate: turn into local function of evaluate_steady_state_file 2023-02-17 22:01:28 -05:00
Sébastien Villemot 6bddbca01d
bytecode_steadystate: turn into a local function of evaluate_steady_state 2023-02-17 22:01:25 -05:00
Sébastien Villemot 05ba2970be
Bytecode: diminish the number of data members in Evaluate class 2023-02-17 13:46:41 -05:00
Sébastien Villemot aee39d54ef
Manual: misc cosmetic fixes
[skip ci]
2023-02-17 11:19:17 -05:00
Sébastien Villemot 2a25119bb3
Manual: the preprocessor no longer generates a <modfile>.m, it’s been replaced by the driver file 2023-02-17 11:11:08 -05:00
Sébastien Villemot fc453a6e2f
Manual: remove spurious dashes
And other cosmetic fixes.
2023-02-16 17:13:38 -05:00
Sébastien Villemot 2a4f850996
Manual: fix name of shocks(surprise) block
[skip ci]
2023-02-16 17:11:56 -05:00
Sébastien Villemot 0da73f6415
Manual: document more precisely the column (resp. row) indices of oo_.endo_simul (resp. oo_.exo_simul)
[skip ci]
2023-02-16 17:06:45 -05:00
Sébastien Villemot 39a9b221b9
Manual: mark “simul” as deprecated
[skip ci]
2023-02-16 16:50:56 -05:00
Sébastien Villemot 1a421d93dd
steady: turn homotopy{1,2,3} into local functions 2023-02-16 14:22:27 -05:00
Sébastien Villemot def25a1fd3
Manual: explicitly say to which type the suffixes |e, |x and |p correspond
[skip ci]
2023-02-13 14:40:35 -05:00
Sébastien Villemot dbcaa2abfa
Manual: it is not possible to declare an exogenous or a parameter within an equation tag
[skip ci]
2023-02-13 14:40:32 -05:00
Sébastien Villemot 659474bd99
Manual: the “expression” option of “var_expectation_model” does not take a string
[skip ci]
2023-02-13 14:10:24 -05:00
Sébastien Villemot a1cdd287e5
Manual: specify that perfect_foresight_with_expectation_errors_setup(datafile=…) wants a CSV file
[skip ci]
2023-02-10 16:41:51 -05:00
Sébastien Villemot 4a150efb22
Manual: misc quote fixes
[skip ci]
2023-02-09 13:40:09 -05:00
Sébastien Villemot 2c44923384
No longer turn off output pagination
The “more off” command is incompatible with MATLAB Online.

Moreover, output pagination is disabled by default on MATLAB and on
Octave (since version 4 for the latter), so in most cases that command would do
nothing.

Incidentally, this allows users to enable output pagination should they want
to.

[skip ci]
2023-02-08 11:02:29 -05:00
Sébastien Villemot 05db89cb8c
Manual: fix typo
[skip ci]
2023-02-07 16:29:15 -05:00
Sébastien Villemot 3e6b6c87c3
Manual: fix math formula in “markowitz” option description
By the way, add some explanatory words.

[skip ci]
2023-02-07 16:25:16 -05:00
Sébastien Villemot 65053667cf
New “homotopy_alt_starting_point” option to “perfect_foresight_solver” command 2023-02-07 14:49:00 -05:00
Sébastien Villemot 7e3b83a135
Bug #1885 was actually not fixed in version 5.3
[skip ci]
2023-02-07 10:58:55 -05:00
Sébastien Villemot d6370a6d28 Merge branch 'occbin_init_smo' into 'master'
occbin enhancements and bug fixes

See merge request Dynare/dynare!2123
2023-02-07 14:23:14 +00:00
Sébastien Villemot c3524d33d0
Testsuite: replace “simul” by “perfect_foresight_setup” + “perfect_foresight_solver” 2023-02-06 15:42:34 -05:00
Sébastien Villemot be698d5f98
Perfect foresight + homotopy: add missing newline 2023-02-06 15:14:02 -05:00
Marco Ratto 63a299f64e new error codes introduced and applied for occbin smoother.
- 321 when simulation within occbin smoother fails
- 322 when occbin smoother does not converge.
2023-02-06 14:58:42 +01:00
Marco Ratto f565a0a84a bug fix and avoid missing output arguments and when smoother exits after non convergence of simulation. 2023-02-06 11:39:24 +01:00
Marco Ratto f0aa2fb86f cosmetic change 2023-02-03 14:25:59 +01:00
Marco Ratto b886de92dc trap case when simulation does not converge within smoother 2023-02-03 14:25:32 +01:00
Marco Ratto cdd195576e store binding_indicator_history once it has been set 2023-02-03 14:24:58 +01:00
Marco Ratto 783c237d17 evaluate set_prior only when needed 2023-02-03 14:21:02 +01:00
Marco Ratto 035db8b8c4 bug fixes when using guess regime 2023-02-03 14:20:51 +01:00
Marco Ratto 77e87be48b try with base regime before returning error 2023-02-03 14:20:39 +01:00