 18 Feb, 2020 2 commits


Sébastien Villemot authored

Sébastien Villemot authored
In Octave, when some values given to the sparse() function are numerically zero, then the nzmax of the generated sparse matrix is shrinked accordingly; while under MATLAB, the nzmax is the length of the vector of values, zeros included. The check at the top of DynamicModelMFile::unpackSparseMatrixAndCopyIntoTwoDMatData() would then fail under Octave if some higherderivatives had an element which is symbolically nonzero but numerically zero. We therefore relax the check, and accordingly adapt the code that handles numerical zeros. This bug was uncovered by tests/pruning/AnSchorfheide_pruned_state_space.mod, which was failing under Octave.

 17 Feb, 2020 9 commits


Sébastien Villemot authored

Sébastien Villemot authored

Sébastien Villemot authored

Sébastien Villemot authored

Sébastien Villemot authored
This is a partial revert of 8fa4c483. Actually, the official name is “GNU Octave”, and it is easier to find it under that name in search engines. So use the full name at a few prominent places, and use the shorter “Octave” everywhere else.

Sébastien Villemot authored
Manual updates regarding Identification See merge request Dynare/dynare!1712

Willi Mutschler authored

Sébastien Villemot authored
The workaround consists in appending the names of those macrodirectives with a regular space followed by a zerowidth space (U+200B). An extra LaTeX declaration was also added in order to make this hack work with the PDF. Ref. #1707

Sébastien Villemot authored
Fix pruned state space at third order See merge request Dynare/dynare!1711

 16 Feb, 2020 11 commits


Willi Mutschler authored

Willi Mutschler authored
Related to #1706
✅ Add unit test for pruned state space up to order 3 // Changed tolerance in new test 
Stéphane Adjemian authored

Stéphane Adjemian authored

Stéphane Adjemian authored

Stéphane Adjemian authored

Stéphane Adjemian authored
... Which would probably need to be updated ;)

Stéphane Adjemian authored

Stéphane Adjemian authored

Sébastien Villemot authored
geweke_moments.m: correctly use parameter instead of hardcoded value See merge request Dynare/dynare!1710

Johannes Pfeifer authored

 15 Feb, 2020 2 commits


Stéphane Adjemian authored

Stéphane Adjemian authored
[skip ci]

 14 Feb, 2020 2 commits


Sébastien Villemot authored

Houtan Bastani authored
[skip ci]

 13 Feb, 2020 2 commits


Sébastien Villemot authored
Implicit expansion (a.k.a. automatic broadcasting) was introduced in MATLAB R2016b (and it has been present in Octave for quite some time). Hence use bsxfun() instead. The problem had been introduced in 228b2a53.

Sébastien Villemot authored
Under Octave, the default seed in fs2000ns_uncorr_ME.mod leads to a generated dataset that makes fs2000ns_corr_ME.mod and fs2000ns_corr_ME_missing.mod fail (due to a large difference between univariate and multivariate diffuse filters).

 12 Feb, 2020 10 commits


Sébastien Villemot authored

Sébastien Villemot authored
Factorization of discretionary policy Closes #1705 See merge request Dynare/dynare!1709

Sébastien Villemot authored
conditional forecasts: add check whether simulation was successful See merge request Dynare/dynare!1708

Johannes Pfeifer authored

Johannes Pfeifer authored
Related to Dynare/dynare#1173

Johannes Pfeifer authored

Johannes Pfeifer authored

Johannes Pfeifer authored

Johannes Pfeifer authored
Closes Dynare/dynare#1705

Johannes Pfeifer authored

 11 Feb, 2020 2 commits


Sébastien Villemot authored
The steady state is always zero for discretionary policy. And, in the case of a steady state file, this call would not be able to update parameters (since it does not modify M_), nor would it need to do so (since this has already be done earlier in the function). Ref. #1705

Sébastien Villemot authored
