Commit Graph

14495 Commits (8eeb92e56b7ae5ec0068d4dae4979a578ae267e6)

Author SHA1 Message Date
Sébastien Villemot c5528ac6b1
Merge branch 'planner_doc' of git.dynare.org:JohannesPfeifer/dynare
Ref. !1931
2021-09-21 17:26:09 +02:00
Johannes Pfeifer e754ec158c
stab_map_.m: move saved file to subfolder´ 2021-09-21 17:25:35 +02:00
Johannes Pfeifer 725fa79bbc
model_info.m: improve output display 2021-09-21 17:25:35 +02:00
Sébastien Villemot 8f350237ec
Preprocessor, optimal policy: check that instruments are declared endogenous 2021-09-21 17:23:48 +02:00
Sébastien Villemot 872c0424a8
tests/block_bytecode/lola_stochastic_block.mod: increase test tolerance on ghu
Needed for Octave on lupi.
2021-09-21 17:00:39 +02:00
Sébastien Villemot d62a09cdef
tests/ep/rbcii.mod: use supported mechanism for user-provided steady state file
Incidentally, this should fix random crashes under Octave (where the manually
copied steady state file was not correctly detected by the interpreter).
2021-09-21 16:26:58 +02:00
Sébastien Villemot c5120e1278
Build system: no longer link MEX for Octave against liboctave and other libraries
Since Octave 5, mkoctfile no longer links MEX files against shared
libraries (other than libc/libstdc++/libgfortran), so we now mimick that
behaviour.
2021-09-21 15:19:49 +02:00
Sébastien Villemot b60607a5b3
Fix spurious warning at startup under Octave about +pac/+bgp/{get,set}.m
This is a workaround for Octave bug 46849. It complements commit
4c0b2e8c4e.

The workaround consists in moving the two problematic files to a subfolder
which is not in the path at startup. They will be added to the path later, at a
time when the Octave:shadowed-function warning has already been disabled by
warning_config.m.

Closes: #1817
2021-09-21 15:19:06 +02:00
Johannes Pfeifer f097d7c4b5 Manual: further details on evaluate_planner_objective
[skip CI]
2021-09-21 13:11:20 +02:00
Sébastien Villemot 271d80abee
Bytecode: release the lock on dynamic.bin when an exception occurs
Closes: #1815
2021-09-20 17:28:43 +02:00
Sébastien Villemot 82d0b1caf4
Merge branch 'smoother2histval' of git.dynare.org:JohannesPfeifer/dynare
Ref. !1930
2021-09-17 17:00:08 +02:00
Sébastien Villemot 7d4bb9ea44
Merge branch 'state_var_backwards' of git.dynare.org:JohannesPfeifer/dynare
Ref. !1928
2021-09-17 16:57:16 +02:00
Sébastien Villemot b74c37d5e4
One last Octave compatibility fix
Closes: #1749
2021-09-17 15:22:07 +02:00
Johannes Pfeifer 2dd6510051 smoother2histval.m: undo logging
Closes https://git.dynare.org/Dynare/dynare/-/issues/1407
2021-09-17 14:43:50 +02:00
Johannes Pfeifer 62e80b0c07 smoother2histval.m: also set M_.exo_histval 2021-09-17 14:42:44 +02:00
Johannes Pfeifer 489e6684e9 smoother2histval.m: fix initialization and dimensions
Closes https://git.dynare.org/Dynare/dynare/-/issues/1775
2021-09-17 13:58:06 +02:00
Johannes Pfeifer 57bbec1f72 stochastic_solvers.m: set dr.state_var for purely backwards models at order=1
Subsequent codes may need it. Closes https://git.dynare.org/Dynare/dynare/-/issues/1703
2021-09-16 20:44:14 +02:00
Sébastien Villemot 8ae487a111
Merge branch 'planner_doc' of git.dynare.org:JohannesPfeifer/dynare
Ref. !1927
2021-09-16 18:32:04 +02:00
Sébastien Villemot 49a396030b
Yet another batch of Octave compatibility fixes 2021-09-16 18:25:00 +02:00
Sébastien Villemot 240d82e64a
Fix typo
[skip ci]
2021-09-16 16:23:20 +02:00
Johannes Pfeifer d5b66ea28a Document recent changes to evaluate_planner_objective
Related to https://git.dynare.org/Dynare/dynare/-/issues/1680
2021-09-16 15:44:08 +02:00
Sébastien Villemot 37467a9b9d
Merge branch 'octave_fixes' of git.dynare.org:wmutschl/dynare
Ref. !1926
2021-09-16 15:16:14 +02:00
Sébastien Villemot 2270ae6197
Merge branch 'octave_test' of git.dynare.org:JohannesPfeifer/dynare
Ref. !1925
2021-09-16 15:15:16 +02:00
Willi Mutschler 5199ea414b
Fix for testsuite on Octave AnScho_matched_moments.mod 2021-09-16 12:45:38 +02:00
Johannes Pfeifer 38a2dcaa8f dynrbc_common.inc: increase maxit and check_ahead_periods
Required for Octave
2021-09-16 10:40:44 +02:00
Johannes Pfeifer 79ee6a5565 dyn_waitbar_close.m: fix closing of waitbars under Octave 2021-09-16 10:40:00 +02:00
Johannes Pfeifer 001971bda6 dynrbc_common.inc: provide file ending required in Octave 2021-09-16 08:56:44 +02:00
Sébastien Villemot 5a21b11d77
Merge branch 'print_model_info' of git.dynare.org:JohannesPfeifer/dynare
Ref. !1922
2021-09-15 18:35:50 +02:00
Sébastien Villemot ff06b9ad10
More Octave compatibility fixes 2021-09-15 18:35:30 +02:00
Sébastien Villemot f164750a91
Old MATLAB compatibility fix
This is a partial revert of 4346903c65. The
xlswrite function is actually not able to write XLS files on GNU/Linux and
macOS, and moreover its CSV fallback does not work with cell arrays.
2021-09-15 17:37:08 +02:00
Johannes Pfeifer 6c14ffb6fb manual: updated info on auxiliary variables
Related to https://git.dynare.org/Dynare/dynare/-/issues/1811
2021-09-15 16:10:59 +02:00
Johannes Pfeifer 58ee240048 Clarify auxiliary variable types
Related to https://git.dynare.org/Dynare/dynare/-/issues/1811
2021-09-15 16:10:58 +02:00
Johannes Pfeifer 966234b044 model_info.m: add non-block info 2021-09-15 16:10:43 +02:00
Stéphane Adjemian (Ryûk) 13c6cf86ce
Cosmetic change (code factorization). 2021-09-15 13:45:39 +02:00
Stéphane Adjemian (Ryûk) 32b8d6c72a
Remove unnecessary condition. 2021-09-15 13:45:39 +02:00
Stéphane Adjemian (Ryûk) 60c8ed1948
Fix bug, pac.bgp.set should also work with exogenous variables. 2021-09-15 13:45:39 +02:00
Sébastien Villemot 809d313b7e Merge branch 'planner_matlab_2014' into 'master'
evaluate_planner_objective.m: compatibility fix for older Matlab versions

See merge request Dynare/dynare!1924
2021-09-15 11:34:09 +00:00
Johannes Pfeifer 85a5a5633c evaluate_planner_objective.m: compatibility fix for older Matlab versions
Use single quotes
2021-09-14 19:35:42 +02:00
Sébastien Villemot 4346903c65
Various Octave compatibility issues
Also improve on e42cf2e5b4 for the compatbilitity
with MATLAB < R2016a in occbin.write_regimes_to_xls.m.
2021-09-14 17:55:55 +02:00
Sébastien Villemot 67c205e0a4
Fortran 2008: add interface for mxCreateStructMatrix
Needed by Normann.
2021-09-14 17:05:07 +02:00
Sébastien Villemot b0d2b849d8 Merge branch 'ramsey_shock' into 'master'
Fixing the regression in behavior in evaluate_planner_objective (Ref: #1680)

See merge request Dynare/dynare!1923
2021-09-14 13:40:03 +00:00
Sébastien Villemot 4ff78868e3
Preprocessor: fix use_dll on macOS + Octave
Closes: #1797
2021-09-13 16:51:16 +02:00
Johannes Pfeifer e7b1d4aca5 testsuite: Fix missing dependence 2021-09-11 11:29:18 +02:00
Johannes Pfeifer 334020fc46 evaluate_planner_objective.m: fix wrong timing in setting of shocks 2021-09-11 09:44:36 +02:00
Johannes Pfeifer 0d483ff85f evaluate_planner_objective.m: Factorize setting of initial condition
also takes care of initially set shocks
2021-09-11 09:44:35 +02:00
NormannR acdad93822 Fixing the regression in behavior in evaluate_planner_objective (Ref: #1680)
- evaluate_planner_objective now returns conditional welfare depending on the initial value of the Lagrange multipliers when it is suitable to do so
   - histval blocks are no longer ignored
2021-09-11 09:44:35 +02:00
Sébastien Villemot ee0a4eb001
Reporting: fix detection of pdflatex on Debian Bookworm 2021-09-09 11:30:04 +02:00
Sébastien Villemot d54f2dd609
dseries submodule update
— fix detection of x13as on Debian bookworm/sid
— add ability to use self-compiled x13as on macOS
— add ISO 8601 weeks
— generalize isleapyear routine for vector of integers
2021-09-09 11:03:35 +02:00
Sébastien Villemot d84da63c26
Preprocessor: fix bug introduced by previous commit with DSGE-VAR models 2021-09-08 19:00:42 +02:00
Sébastien Villemot 3353f539cc
Preprocessor: improve sanity checks for estimated_params* blocks 2021-09-08 17:11:18 +02:00