Commit Graph

14036 Commits (d43a057af3c7ad301afef3471358e88df2cb5bed)

Author SHA1 Message Date
Marco Ratto d43a057af3
store_smoother_results: fix header explanation of output arguments
Variances are now in declaration order.
2021-05-07 16:34:35 +02:00
Sébastien Villemot 34208947c9
Preprocessor update
— add M_.NNZDerivatives_objective (for Ramsey policy at arbitrary order)
— Windows: fix detection of location of MinGW compiler
2021-04-30 15:04:45 +02:00
Sébastien Villemot 4097671218
Emacs mode: add font lock for new “deterministic_trends” block 2021-04-30 11:51:51 +02:00
Sébastien Villemot de4c06b3bb Merge branch 'bvar' into 'master'
bvar: fix description of lag lengths

See merge request Dynare/dynare!1838
2021-04-28 10:54:57 +00:00
Johannes Pfeifer a02beb825c bvar: fix description of lag lengths 2021-04-28 11:39:47 +02:00
Stéphane Adjemian (Charybdis) f65a153520
Describe how one an write comments in a mod file.
Also warns about the behavior of macro directives in comments.
2021-04-21 10:59:04 +02:00
Stéphane Adjemian (Charybdis) aa020adc7f
Fix highlighting of multiline comments. 2021-04-21 10:59:04 +02:00
Sébastien Villemot 919cec4c0f
Manual: linear_approximation option is also available with stack_solve_algo=7 2021-04-20 16:54:39 +02:00
Sébastien Villemot ec28179043
Perfect foresight: add warning when lmmcp and linear option are used together 2021-04-20 16:53:54 +02:00
Sébastien Villemot d6677f66a4
Testsuite: adapt histvalf_initvalf unit tests following previous commit 2021-04-20 12:17:23 +02:00
Sébastien Villemot 0cef790498
Preprocessor: fix treatment of “series” option of “initval_file”
As a consequence, adapt histval_initvalf.m to the new format.
2021-04-20 10:44:18 +02:00
Sébastien Villemot caef9e266b
Preprocessor: fix crash in DataTree::operator=() with model local variables
Also add a regression test.

Closes: #1782
2021-04-16 17:36:08 +02:00
Sébastien Villemot 8ac65cbd35
Revert "Build system: workaround for compilation under MSYS2"
This reverts commit 016c402a93.

The problem has been fixed in MSYS2, see:
https://github.com/msys2/MINGW-packages/pull/8259
2021-04-14 15:02:39 +02:00
Sébastien Villemot 279446968c
Windows package: bump dependencies 2021-04-14 14:43:25 +02:00
Stéphane Adjemian (Charybdis) 6fe97182da
Deactivate unit tests for gamrnd if statistical toolbox is available. 2021-04-09 12:44:59 +02:00
Stéphane Adjemian (Charybdis) 237aa465d2
Fix precision in perfect_foresight_solver for backward models. 2021-04-08 20:31:40 +02:00
Stéphane Adjemian (Charybdis) a03b65bab7
Honour option solve_algo with backward models in perfect_foresight_solver. 2021-04-08 20:31:40 +02:00
Stéphane Adjemian (Charybdis) 8683790927
Throw error if solve_algo={12,14} is used without JSON output. 2021-04-08 20:31:40 +02:00
Sébastien Villemot d5c8e8115e
Preprocessor update
— Properly escape some characters in JSON. As a consequence, remove the
  workaround that was in matlab/loadjson_.m
— Fix JSON output for load_params_and_steady_state
— Add maximum lead/lag and varobs to JSON output
2021-04-08 14:51:49 +02:00
Stéphane Adjemian (Charybdis) 3a823c488f
Fix PAC equations with lags on exogenous variables. 2021-04-02 15:52:30 +02:00
Sébastien Villemot 4374e2c4ae Merge branch 'willi' into 'master'
Change Willi's affiliation

See merge request Dynare/dynare!1836
2021-03-31 12:35:37 +00:00
Willi Mutschler 14ca16cfa3
Change Willi's affiliation 2021-03-30 15:49:31 +02:00
Sébastien Villemot 016c402a93
Build system: workaround for compilation under MSYS2
There is (on 2021-03-29) a problem in the -static-libgfortran linker option that
affects the Dynare++ binaries.
See https://github.com/msys2/MINGW-packages/issues/7023
and https://github.com/msys2/MINGW-packages/issues/6986
Until this is fixed, the workaround is to add the --default-image-base-low linker
option.
We do *not* want to do this when cross-compiling from Debian (because the option does
not exist there), hence we test for cross-compilation before applying the workaround.
2021-03-29 15:55:36 +02:00
Sébastien Villemot d68fc14fed
Build system: remove trailing whitespace in Makefile 2021-03-29 15:27:47 +02:00
Sébastien Villemot b058dfbb18
Windows package: bump dependency version 2021-03-29 14:50:51 +02:00
Sébastien Villemot e29918b644 Merge branch 'parallel_proposal' into 'master'
posterior_sampler.m: make sure proposal density fields are set in parallel

See merge request Dynare/dynare!1835
2021-03-26 16:33:48 +00:00
Johannes Pfeifer 3c11ee9581 posterior_sampler.m: make sure proposal density fields are set in parallel 2021-03-25 17:11:48 +01:00
Sébastien Villemot d52ea372db
macOS package: clean up connection test to github.com
— avoid outputing the whole Github page to install.log
— also make it more robust by directly testing return code
2021-03-23 18:17:33 +01:00
Sébastien Villemot a42a9fff75 Merge branch 'foresight_debug' into 'master'
perfect foresight: provide debugging information for singular Jacobian

Closes #1732

See merge request Dynare/dynare!1834
2021-03-22 09:41:24 +00:00
Sébastien Villemot 59e087d416
macOS: improve the algorithm that determines the install location on the disk 2021-03-18 15:42:28 +01:00
Sébastien Villemot 559b0b5679
Source package: fix name of ms-sbvar datafile
Bug introduced in 11f8f9c7f4
2021-03-17 18:11:40 +01:00
Sébastien Villemot 8493f59c76
Release announcement for 4.6.4 2021-03-17 18:03:32 +01:00
Sébastien Villemot baa6c8dbbd
Provisions for MATLAB R2021a 2021-03-17 17:47:27 +01:00
Sébastien Villemot 3f7111cf5d
CI: bump to MATLAB R2021a 2021-03-17 17:44:08 +01:00
Sébastien Villemot 11f8f9c7f4
MATLAB R2021a compatibility: rename datafile for ms-sbvar tests
The datafile was name “data.m”, and for some unidentified reason, this stopped
working with MATLAB R2021a.
2021-03-17 17:41:27 +01:00
Johannes Pfeifer b5a4c0695f perfect foresight: provide debugging information for singular Jacobian
Closes https://git.dynare.org/Dynare/dynare/-/issues/1732
2021-03-17 15:02:30 +01:00
Sébastien Villemot 47477e152a
Bump minimal Octave version to 6.2.0 2021-03-12 16:21:57 +01:00
Sébastien Villemot c0ccca26cb
macOS package: drop support for Octave
The current Octave support is utterly broken (both in stable and unstable), it
crashes Octave. It relies on an unofficial Octave app for
macOS (https://octave-app.org), which is infrequently updated.

This commits drop support for Octave in the macOS package. We will now tell our
macOS+octave users to use the Homebrew Dynare package (which is maintained by
the Homebrew team, and is in reasonably good shape).
2021-03-12 16:21:57 +01:00
Sébastien Villemot 71130a395f
Windows package: bump versions of dependencies 2021-03-11 10:47:46 +01:00
Sébastien Villemot a2c5df956f
Manual: add a short description of how decision rules are stored at order ≥ 4
Closes: #1764
2021-03-10 14:44:19 +01:00
Sébastien Villemot c9eb6920c9
local_state_space_iteration_k MEX: fix bug in output
In its output, the MEX was returning values for all endogenous variables, but
it was used in a context where only the variables from oo_.dr.restrict_var_list
were expected (as is done with local_state_space_iteration_2 MEX).

This commit fixes this discrepancy, and also fixes the test that was checking
that both MEX are returning the same output.

Closes: #1768
2021-03-10 13:45:29 +01:00
Sébastien Villemot 4c15bce48e
Windows package: bump Octave version to 6.2.0 2021-03-08 15:09:34 +01:00
Sébastien Villemot 1ba9189cb0
CI: bump Octave version to 6.2.0 2021-03-08 15:02:52 +01:00
Stéphane Adjemian (Charybdis) 3859ea0de0
Fix read_key_value_string if commas are followed by spaces. 2021-02-26 17:50:47 +01:00
Sébastien Villemot de0b9c4683
Preprocessor: remove spurious space produced when parsing key/value pairs
The problem had been introduced by the previous preprocessor submodule update.
2021-02-26 12:29:21 +01:00
Stéphane Adjemian (Charybdis) 6752426809
Bug fixes in particles submodule. 2021-02-26 10:40:37 +01:00
Stéphane Adjemian (Charybdis) 688ef1f5bf
Updated dseries section in reference manual. 2021-02-26 09:45:24 +01:00
Stéphane Adjemian (Charybdis) 9e37e07075
Updated dseries submodule (time aggregation routines). 2021-02-26 09:44:24 +01:00
Stéphane Adjemian (Charybdis) 07a343d602
Updated preprocessor submodule (honour bi-annual dates). 2021-02-26 09:42:09 +01:00
Sébastien Villemot ea41f19008 Merge branch 'perfect_foresight_planner' into 'master'
Ref. #1680: perfect foresight

See merge request Dynare/dynare!1833
2021-02-25 15:43:45 +00:00