Commit Graph

15868 Commits (3a115d4fcc1e88a37b22c9ae5ea257004c68dfe4)

Author SHA1 Message Date
Johannes Pfeifer 3a115d4fcc Remove full oo_ input from likelihood functions 2023-10-02 09:48:34 +02:00
Johannes Pfeifer 268a668f32 occbin.dynare_resolve.m: remove oo_ structure as full input 2023-10-02 09:29:15 +02:00
Johannes Pfeifer ab61f79c9e dsge_likelihood.m: use consistent naming of global objects 2023-10-02 09:24:32 +02:00
Johannes Pfeifer f34653b0f7 mom.objective_function.m: remove unused input 2023-10-02 09:22:36 +02:00
Johannes Pfeifer fa29689b13 mom.get_data_moments.m: do not pass full oo_ structure 2023-10-02 09:19:29 +02:00
Johannes Pfeifer acb9518dec get_perturbation_params_derivs and friends: do not pass full oo_ structure 2023-10-02 09:18:58 +02:00
Johannes Pfeifer e65662151f Eliminate set_dynare_seed.m calls with globals 2023-09-28 17:00:21 +02:00
Sébastien Villemot f2abdb6ec8
Merge branch 'doc' of git.dynare.org:wmutschl/dynare
Ref. !2188
2023-09-28 15:38:17 +02:00
Sébastien Villemot 285c1ef244
Preprocessor: gracefully handle division by zero when attempting equation normalization 2023-09-28 15:36:00 +02:00
Sébastien Villemot 0e5bba7567
Testsuite: fix workaround for TeX option with MATLAB R2014a
MATLAB R2014a run with -nodisplay crashes with the TeX option. A workaround was
introduced in commit f946baf6c5. The present
commit updates this workaround following the move to the Meson build system.

By the way, use consistent variable naming in tests/run_mod_file.m.
2023-09-28 15:17:00 +02:00
Sébastien Villemot 2600a878da
Testsuite: tolerance increase
estimation/fs2000_model_comparison.mod fails with MATLAB R2023b on the “pluto”
runner (which has AVX2).
2023-09-28 11:46:21 +02:00
Stéphane Adjemian (Argos) 85e9ec7fdc
Fix cherrypicked models without parameters or exogenous variables. 2023-09-28 09:39:18 +02:00
Stéphane Adjemian (Ryûk) de626fb4e8
Add remark.
[skip ci]
2023-09-28 09:01:37 +02:00
Sébastien Villemot b4a34f8ebc
Preprocessor: no longer write bytecode for discretionary optimal policy models
These models don’t have as many variables as equations, and this case is not
supported by bytecode.
2023-09-27 14:51:57 +02:00
Sébastien Villemot ceff825ed4
Fix typo 2023-09-27 13:24:51 +02:00
Sébastien Villemot befe645728
Simplify function for getting the path to MEX files
This function could optionally modify the path, but that possibility was never
used.
2023-09-27 13:24:51 +02:00
Sébastien Villemot 432fd2d1b1
aggregate: Octave compatibility fix
The textscan() function under Octave does not accept delimiters specified as a
cell array.
2023-09-27 12:27:47 +02:00
Sébastien Villemot 2993c79a85
Preprocessor update
– fix illegal memory access when doing Ramsey
– use same default variable cleaning rule under Octave as under MATLAB ⩾ 8.6
2023-09-27 12:27:28 +02:00
Sébastien Villemot 50319b7620
Build system: fix compilation of MS-SBVAR MEX under Linux+Octave
Add the -Bsymbolic linker flag. This ensures that the main() symbols defined in
both MS-SBVAR MEX won’t step on each other.
2023-09-27 11:41:14 +02:00
Willi Mutschler e6aff20142
doc: clarify NumberOfThreadsPerJob and SingleCompThread
[skip ci]
2023-09-27 10:40:27 +02:00
Sébastien Villemot b65f641b72 Merge branch 'doc' into 'master'
Documentation: parallel SingleCompThread option

See merge request Dynare/dynare!2186
2023-09-27 06:59:15 +00:00
Willi Mutschler 2c2d93f36b
doc: clarify SingleCompThread option
[skip ci]
2023-09-27 08:22:28 +02:00
Sébastien Villemot 64f47723bf
Testsuite: fix batch arguments for old MATLAB under Linux 2023-09-26 16:55:05 +02:00
Sébastien Villemot 01833b8a76
Testsuite: factorization between MATLAB and Octave 2023-09-26 15:59:38 +02:00
Sébastien Villemot 82a2aeaae4
Block trust region MEX: gracefully handle the singular Jacobian case
When the Jacobian of the problem is singular, compute a solution to the least
squares problem instead of crashing.

Closes #1889
2023-09-26 15:30:33 +02:00
Sébastien Villemot c4a5c36c52
Merge branch 'dynare-dynare_estimation_1'
Ref. !2182
2023-09-25 17:18:07 +02:00
Johannes Pfeifer 9b86dd4c33
bug: simul_backward_model_init.m: fix error message 2023-09-25 17:17:37 +02:00
Johannes Pfeifer 13bf261088
prior_posterior_statistics_core.m: remove unused variables 2023-09-25 17:17:37 +02:00
Johannes Pfeifer 710a5fba52
slice: cosmetic changes 2023-09-25 17:17:37 +02:00
Johannes Pfeifer 6d8927775b
Remove unused steadystate_partial option and related inline function restricted_steadystate.m 2023-09-25 17:17:37 +02:00
Johannes Pfeifer bf7ac27fd7
prior_posterior_statistics_core.m: consolidate both forecast functions into one inline function 2023-09-25 17:17:37 +02:00
Johannes Pfeifer dc9560e610
selec_posterior_draws.m: remove global variables 2023-09-25 17:17:37 +02:00
Johannes Pfeifer b4104584a2
gmhmaxlik_core.m: remove unused global variables 2023-09-25 17:17:37 +02:00
Johannes Pfeifer 71b63c6e8e
Remove unused lik_algo-option 2023-09-25 17:17:37 +02:00
Johannes Pfeifer 8da98057b9
Have computation of decision rules and smoother only input and output required arguments instead of full oo_ and M_ 2023-09-25 17:17:34 +02:00
Sébastien Villemot 7557dfb70d
Meson: add install rules 2023-09-25 16:38:29 +02:00
Johannes Pfeifer 4fa5df0c24 simult.m: remove oo_ as input and output 2023-09-25 12:08:47 +02:00
Johannes Pfeifer 22c0f2279f non_linear_dsge_likelihood.m: rename variables 2023-09-25 12:08:45 +02:00
Johannes Pfeifer 01f29784d7 bug: initialize undefined variable in OccBin smoother 2023-09-25 12:08:44 +02:00
Johannes Pfeifer b5880e0e56 bug: minus_logged_prior_density.m: fix reading out of error codes 2023-09-25 12:08:43 +02:00
Johannes Pfeifer 5231fc04c1 Remove global variables from prior_posterior_statistics.m and PosteriorIRF.m 2023-09-25 12:08:41 +02:00
Johannes Pfeifer 782a2e8d69 dynare_estimation_1.m: move display and storing of classical smoother to separate function 2023-09-25 12:08:40 +02:00
Stéphane Adjemian (Ryûk) 6417520c09
Allow cherrypicking and aggregation with PAC/MCE. 2023-09-23 17:43:19 +02:00
Stéphane Adjemian (Ryûk) 8d7a5e69d7
Return Computing and preprocessing time. 2023-09-22 22:29:42 +02:00
Sébastien Villemot bdb385d17c
README.md: recommend pkgconf instead of pkg-config in MSYS2 2023-09-22 14:41:50 +02:00
Sébastien Villemot 9a1f150e38
Merge branch 'default_mode_compute' of git.dynare.org:JohannesPfeifer/dynare
Ref. !2160
2023-09-22 14:35:45 +02:00
Sébastien Villemot b8412aba10
Meson: enable -Wold-style-cast warning when warning_level⩾2 2023-09-22 14:33:14 +02:00
Sébastien Villemot b117e2a540
Preprocessor: warnings removed 2023-09-22 14:32:48 +02:00
Sébastien Villemot bf9434f95f
Remove warnings about cast between incompatible function types (-Wcast-function-type) under Windows 2023-09-22 14:22:47 +02:00
Sébastien Villemot 9f3f1b00c6
MS-SBVAR MEX: remove all compilation warnings at warning_level=2 2023-09-22 13:56:51 +02:00