Commit Graph

13595 Commits (2b17a711e09acb76b1b09380b3b12582fba2c936)

Author SHA1 Message Date
Stéphane Adjemian (Charybdis) 04b0e8aaa1
Bug fix related to missing aux variables if fourth argument is empty. 2020-05-26 17:43:07 +02:00
Sébastien Villemot cf523cb6d3
Block decomposition: fix simulation of blocks of type "evaluate backward" (without bytecode)
Ref. #1727
2020-05-26 17:00:58 +02:00
Sébastien Villemot 50209dc56e
Block decomposition: no longer use global variables for temporary terms in the dynamic M-file
Rather use a single vector as in non-block mode.

By the way, change the order of output arguments in static functions, to be
closer to the dynamic ones.
2020-05-26 16:23:46 +02:00
Sébastien Villemot ea4d3f4d83
Block decomposition: fix interaction with steady_state_model block
This cas was omitted in previous commit.
2020-05-25 21:10:42 +02:00
Sébastien Villemot 2c6807a66b
Block decomposition: no longer use global variables for temporary terms in the static M-file
Rather use a single vector as in non-block mode.
2020-05-25 18:36:55 +02:00
Sébastien Villemot caea047c2d
solve_one_boundary: remove unused codepaths for solve_algo={0,1,2,3}
Those cases are handled by dynare_solve.
2020-05-25 17:59:54 +02:00
Sébastien Villemot bd7eb2f88d
Fixes to solve_algo ≥ 9
— allow solve_algo=9 without block nor bytecode
— allow solve_algo≥9 with block without bytecode
— test solve_algo=9
2020-05-25 17:22:17 +02:00
Sébastien Villemot 2015b79279
solve_{one_boundary,two_boundaries}: convert some input arguments to logical type 2020-05-25 16:59:20 +02:00
Sébastien Villemot 6f0196be7f
Preprocessor: various block/bytecode refactorings 2020-05-20 11:52:02 +02:00
Sébastien Villemot 154fced8b7
Remove old SMM code
Ref. #1724
2020-05-18 17:30:40 +02:00
Stéphane Adjemian (Charybdis) a6ea878627
Fixed bug introduced in 179d57f13.
initvalf was failing if the datafile was in the current folder.
2020-05-18 13:42:53 +02:00
Stéphane Adjemian (Charybdis) 9a66f3ebd9
Allow shocks with initval_file. 2020-05-18 12:21:43 +02:00
Stéphane Adjemian (Charybdis) 179d57f138
Fixed path issue. 2020-05-18 12:21:27 +02:00
Sébastien Villemot d77d88a684
CI: activate timestamping of Authenticode signatures on Windows binaries
This is necessary if we want our signatures to remain valid after the
expiration of our certificate.

For more details, see:
https://www.digicert.com/blog/best-practices-timestamping/
2020-05-15 18:38:04 +02:00
Sébastien Villemot 52297f4cea
CI: activate timestamping of Authenticode signatures on Windows binaries
This is necessary if we want our signatures to remain valid after the
expiration of our certificate.

For more details, see:
https://www.digicert.com/blog/best-practices-timestamping/
2020-05-15 18:23:05 +02:00
Michel Juillard b70d99d1b4
Refactoring of initval_file and histval_file
initval_file and hisvfal_file are now more flexible and have functionalities
similar to option datafile in estimation.

Closes: #1671
2020-05-14 16:45:54 +02:00
Sébastien Villemot fc2e6ef89b
Preprocessor: still more fixes related to block/bytecode temporary terms 2020-05-13 17:00:00 +02:00
Sébastien Villemot e5f45ef7b1
Testsuite: fix calls to fataltest.m 2020-05-13 14:58:09 +02:00
Sébastien Villemot ac1b7cc9e1
Testsuite: fix formula for maximum difference error test 2020-05-13 14:57:58 +02:00
Sébastien Villemot d6d528b39c
Preprocessor: fix bug in bytecode with temporary terms introduced in previous update 2020-05-13 12:57:42 +02:00
Sébastien Villemot b2841ff98c
Testsuite: minor simplification 2020-05-13 12:57:14 +02:00
Sébastien Villemot 31a9a5e9ab
Bytecode MEX: various fixes to debug mode 2020-05-13 12:22:20 +02:00
Sébastien Villemot ca0227c62c
Preprocessor: refactor block decomposition temporary terms 2020-05-12 18:48:22 +02:00
Sébastien Villemot 6bf312f263
Preprocessor update: fix previous commit which had a wrong SHA 2020-05-07 18:44:37 +02:00
Sébastien Villemot 272b05316a
Preprocessor update: bugfix in cutoff option
Bug introduced in previous commit.
2020-05-07 18:42:14 +02:00
Stéphane Adjemian (Charybdis) f72160aa60
Fixed bug introduced in e41080fed (dseries with initval_file). 2020-05-07 11:17:59 +02:00
Stéphane Adjemian (Charybdis) c9efef0782
Updated dseries submodule (bug fix in rename method).
[skip ci]
2020-05-07 11:04:06 +02:00
Stéphane Adjemian (Charybdis) e41080fede
Pass dseries (saved in .mat or .m) to initval_file.
Allows to pass a dseries object saved on disk in a .mat file or .m to
initialize the paths for the endogenous variables and set the paths
for the exogenous variables. It is not required to pass the auxiliary
variables (automatically computed by initvalf routine), which is useful
if the baseline comes from another model. In this case, the
initval_file command or the datafile option of the
perfect_foresight_setup command sets the value of periods (deduced
from the number of observation in the dseries object and the number of
lags/leads in the model).
2020-05-06 22:36:06 +02:00
Sébastien Villemot f4f296edd6
Preprocessor update
— various refactoring and bugfixes in block decomposition
— small bugfix for PAC models
2020-05-06 18:17:25 +02:00
Stéphane Adjemian (Charybdis) 2566320834
Updated dseries submodule (new method). 2020-05-06 11:39:11 +02:00
Sébastien Villemot 09617453ea
Ensure that “extended_path” obeys the “bytecode” option
Closes: #1717
2020-05-04 22:42:08 +02:00
Houtan Bastani 25a977f4be
jacob_element & hess_element: remove unnecessary loops 2020-05-04 12:15:15 -04:00
Stéphane Adjemian (Charybdis) 79c09743d8
Updated dseries submodule (bug fix). 2020-04-30 11:47:30 +02:00
Stéphane Adjemian (Charybdis) 84ec142463
Return paths for the exogenous variables. 2020-04-09 10:40:46 +02:00
Stéphane Adjemian (Charybdis) f8bb514632
Return paths for all the endogenous variables if fourth argument is empty. 2020-04-08 17:59:23 +02:00
Sébastien Villemot 6e0f104d7e
Bump minimal MATLAB version to R2014a
Ref. #1713
2020-04-07 16:32:32 +02:00
Sébastien Villemot e95b93f783
dseries submodule update
— Efficiency change. OCTAVE_VERSION is a builtin function in Octave
— Fix bug dseries#43
— Cosmetic changes
— Fixed subsasgn method (when calling merge)
2020-04-07 12:48:00 +02:00
Stéphane Adjemian (Charybdis) c284d9ec96
Updated preprocessor submodule (cosmetics). 2020-04-06 09:32:36 +02:00
Stéphane Adjemian (Charybdis) 0cf1913e9c
Fixe displayed percentage in waitbar. 2020-04-06 09:13:36 +02:00
Stéphane Adjemian (Charybdis) fc07b1a3d3
Merge remote-tracking branch community/master into enterprise
[skip-ci]
2020-04-03 11:37:21 +02:00
Stéphane Adjemian (Charybdis) 046960c4a8
Merge remote-tracking branch community/master into enterprise 2020-04-03 11:33:46 +02:00
Stéphane Adjemian (Charybdis) e22e41a7d4
Added preprocessor's option notime.
Do not print the total computing time at the end of the driver evaluation.
2020-04-03 11:29:05 +02:00
Sébastien Villemot 6c1020578a Merge branch 'Smoother_bug' into 'master'
missing_DiffuseKalmanSmootherH1_Z.m: fix bug with variable dimension

See merge request Dynare/dynare!1728
2020-04-03 08:29:22 +00:00
Johannes Pfeifer b8b05300c1 missing_DiffuseKalmanSmootherH1_Z.m: fix bug with variable dimension 2020-04-02 19:22:55 +02:00
Stéphane Adjemian (Charybdis) 7f2cf925c8
Fixed YhatObs and Yobs returned by dyn_ols.
Adding back the calibrated part of the RHS.

(cherry picked from commit 545eb47abea080c4b1cf411f89b9f56226aeb724)
2020-04-02 10:50:10 +02:00
Sébastien Villemot 7877791b70 Merge branch 'TaRB_small_fixes' into 'master'
Fixes TaRB with Student t proposal, update manual, unit test

See merge request Dynare/dynare!1727
2020-04-02 08:44:53 +00:00
Willi Mutschler 64a2a4388a
🐛 📖 Fixes TaRB with student t proposal distribution 2020-04-01 14:46:22 +02:00
Sébastien Villemot 8df9813a0e Merge branch 'perfect_foresight' into 'master'
fix bug when no convergence and backward model

See merge request Dynare/dynare!1726
2020-03-31 15:18:05 +00:00
Michel Juillard fd09b98150 fix bug when no convergence and backward model 2020-03-31 15:40:49 +02:00
Sébastien Villemot a34abd2289
Preprocessor update / Block decomposition
— Fix several bugs in computation of renormalized equations
— Various refactorings
2020-03-30 18:50:15 +02:00