Commit Graph

15159 Commits (4e08aadafa37962a7cda89a6287c056a4f3d1442)

Author SHA1 Message Date
Sébastien Villemot 93ee9485b6
macOS: bump to GCC 12 (for compilation and for use_dll)
The formulas are taken from commit aae5963a69896021466a037f500aa06bef405be4 of
the homebrew-core repository.

The gcc.rb formula was modified by adding “cellar: :any” to all bottles (see
https://github.com/Homebrew/brew/blob/master/docs/Bottles.md).

The preprocessor has been updated accordingly.
2022-09-06 12:05:50 +02:00
Sébastien Villemot 12a71c5328
Windows package: bump dependencies 2022-09-06 11:32:02 +02:00
Sébastien Villemot 8df61462ce
Windows package: bump to Octave 7.2.0 2022-09-06 11:24:18 +02:00
Sébastien Villemot 6a3e890833
Manual: document support for Octave 7.2.0
[skip ci]
2022-09-06 11:22:13 +02:00
Sébastien Villemot d92fa5db17
CI: bump to Octave 7.2.0 2022-09-06 11:20:54 +02:00
Johannes Pfeifer 0225cb23ac Path solver: trigger lmmcp flag
Solves https://git.dynare.org/Dynare/dynare/-/issues/1720 for PATH solver
2022-09-06 09:34:20 +02:00
Johannes Pfeifer 85a894efde lmmcp: display norm of residuals in homotopy 2022-09-01 13:00:09 +02:00
Stéphane Adjemian (Ryûk) 1348c2ac4c
Fix typo. 2022-08-31 22:47:35 +02:00
Stéphane Adjemian 4aa47e521c Merge branch 'Cosmetics' into 'master'
Cosmetic fixes to various functions

See merge request Dynare/dynare!2072
2022-08-31 14:57:16 +00:00
Stéphane Adjemian (Ryûk) ca31a087f8
Fix typo (remove trailing underscore to option variable). 2022-08-31 15:26:09 +02:00
Johannes Pfeifer 6872d8b0d1 Various cosmetic fixes 2022-08-31 14:58:00 +02:00
Stéphane Adjemian d8baeb8f41 Merge branch 'diag' into 'master'
model_diagnostics.m: fix options_-name

See merge request Dynare/dynare!2069
2022-08-31 11:50:25 +00:00
Stéphane Adjemian da1659d844 Merge branch 'cmaes' into 'master'
cmaes.m: allow suppressing warning

See merge request Dynare/dynare!2070
2022-08-31 11:48:56 +00:00
Stéphane Adjemian (Ryûk) 2aa6565c18
Add test for lmmcp in extended path. 2022-08-31 13:37:00 +02:00
Stéphane Adjemian (Ryûk) 9301024d71
Do not check steady state if nocheck option used in steady command...
In perfect foresight solvers with linear approximation.
2022-08-31 13:12:25 +02:00
Stéphane Adjemian (Ryûk) e5102eeefd
Bug fix for mode_compute=6.
We did not keep track of the first and second order moment when calling gmhmaxlik_core.
2022-08-31 13:06:30 +02:00
NormannR c6d5c48ff7 Local state-space iteration at order 3: multi-thread 3rd-order version with and without pruning 2022-08-30 14:06:19 +02:00
Johannes Pfeifer 9e048c2428 cmaes.m: allow suppressing warning 2022-08-29 13:35:35 +02:00
Johannes Pfeifer ba9ca26bf6 model_diagnostics.m: fix options_-name 2022-08-28 13:30:21 +02:00
Stéphane Adjemian (Ryûk) 982ec2e66d
Fix copy/paste error. 2022-08-23 09:16:46 +02:00
Johannes Pfeifer 63469057ca model_diagnostics.m: use boolean for debug option as block_trust_region expects it 2022-08-11 09:43:30 +02:00
Stéphane Adjemian f07408a426 Merge branch 'fs2000' into 'master'
fs2000.mod: add mode_check plots and fix datatomfile command

See merge request Dynare/dynare!2064
2022-08-10 15:10:50 +00:00
Stéphane Adjemian 20511495de Merge branch 'load_results_after_load_mh' into 'master'
load_results_after_load_mh: fix location of file

See merge request Dynare/dynare!2065
2022-08-10 15:10:03 +00:00
Johannes Pfeifer 905e7c4344 load_results_after_load_mh: fix location of file 2022-08-10 12:55:00 +02:00
Johannes Pfeifer c2283443df fs2000.mod: add mode_check plots and fix datatomfile command 2022-08-03 10:30:38 +02:00
Stéphane Adjemian 9e79d95cb7 Merge branch 'occbin_bug' into 'master'
bug fixes in error traps in PKF update steps

See merge request Dynare/dynare!2063
2022-08-02 17:00:51 +00:00
Marco Ratto 3c0f8ec624 bug fixes in error traps in PKF update steps 2022-07-29 16:39:59 +02:00
Sébastien Villemot 24d7f569f1
Bytecode MEX: fix compilation under GCC ⩾ 11
Problem introduced in previous commit.
2022-07-29 14:30:45 +02:00
Sébastien Villemot e22ca82ab6
Bytecode MEX: drop the ErrorMsg class and integrate most of its members inside the Evaluate class 2022-07-29 13:04:31 +02:00
Sébastien Villemot 034a981daa
Bytecode MEX: streamline error handling 2022-07-29 13:04:29 +02:00
Sébastien Villemot 4ec6c0dab4
Bytecode MEX: streamline preprocessor guards in includes 2022-07-29 12:40:33 +02:00
Sébastien Villemot 12a493c443
Merge branch 'metropolis' of git.dynare.org:JohannesPfeifer/dynare
Ref. !2062
2022-07-28 17:23:58 +02:00
Sébastien Villemot 0076644bda
Bytecode MEX: fix bug with PowerDeriv printing introduced in ff85fc6489 2022-07-28 17:13:23 +02:00
Sébastien Villemot 7c4dc1abce
Bytecode MEX: in error messages, revert back to default floating point format
A move to fixed format was erroneously made in
4893f0e82c and
ff85fc6489, where stream formatting of floating
points has been replaced by the use of std::to_string().
2022-07-28 17:10:12 +02:00
Sébastien Villemot 6e1635658f
Bytecode MEX: split out code for dealing with variable names into a dedicated BasicSymbolTable class 2022-07-28 16:56:40 +02:00
Sébastien Villemot 5df3fde95e
Bytecode MEX: streamline function for adding tildes below FP error 2022-07-28 15:48:21 +02:00
Johannes Pfeifer df09084a89 posterior_sampler_initialization.m: save missing ProposalCovariance for mh_recover 2022-07-28 11:12:18 +02:00
Johannes Pfeifer 82a2717181 Remove unused metropolis_hastings_initialization.m
Remnant of refactorization in 4445f17e
2022-07-28 11:03:37 +02:00
Sébastien Villemot ca32be2dcb
Merge branch 'model_diag' of git.dynare.org:JohannesPfeifer/dynare
Ref. !2058
2022-07-27 18:07:12 +02:00
Sébastien Villemot ff85fc6489
Bytecode MEX: refactor the routines that display expressions in human-readable form
In particular, minimize the number of parentheses written, using the same
algorithm as in the preprocessor.
2022-07-27 18:06:08 +02:00
Johannes Pfeifer 253c87b894 model_diagnostics.m: allow setting tolerance for singularity checks starting with Matlab 2022a 2022-07-27 13:15:29 +02:00
Sébastien Villemot 8d326373c6
Merge branch 'occ_test' of git.dynare.org:JohannesPfeifer/dynare
Ref. !2061
2022-07-27 11:44:32 +02:00
Sébastien Villemot 2d812af2ae
Release notes for Dynare 5.2 2022-07-27 11:32:40 +02:00
Sébastien Villemot ad97361f67
Fix bug under MATLAB < R2016b introduced in 906062cfe5
The logic for testing the MATLAB version was incorrect.
2022-07-26 22:36:30 +02:00
Johannes Pfeifer dc40862eff testsuite: add smoother_redux option 2022-07-26 22:15:39 +02:00
Sébastien Villemot dd7aa1e42c Merge branch 'occbin_bug' into 'master'
bug fix for smoother_redux and state uncertainty with OCCBIN

Closes #1862

See merge request Dynare/dynare!2060
2022-07-26 17:57:15 +00:00
Sébastien Villemot 1b13bb2e6e
Bytecode MEX: simplify type for storing list of instructions 2022-07-26 18:27:23 +02:00
Marco Ratto 6d03a65488 bug fix for smoother_redux and state uncertainty with OCCBIN 2022-07-26 18:07:39 +02:00
Sébastien Villemot 9d84048710
Bytecode MEX: fix bug introduced in 8c01912a50
Use an iterator wrapped inside std::optional instead of a possibly-singular
iterator, because the latter has undefined behaviour.

By the way, pass arguments by const reference.
2022-07-26 16:35:06 +02:00
Sébastien Villemot dc224e71ed
Bytecode MEX: fix error messages for derivatives w.r.t. exogenous / exogenous deterministic
The wrong type was used for querying symbol names.
2022-07-26 16:35:06 +02:00