- forbid lead/lags on exogenous deterministic (Closes: #1765)
- fix crash when @#ifdef/@#ifndef is passed something else than a variable name
(Closes: #1771)
Incidently, remove the possibility of passing model derivatives as arguments to
the k_order_perturbation. That possibility was only used by the risky steady
state code.
Closes: #1338
– Whenever possible, pass the “tex” option to Dynare commands instead of
fiddling with options_.TeX;
— For the remaining explicit options_.TeX and also for options_.debug,
use a boolean value instead of an integer.
The mean(…, 'omitnan') syntax does not exist before R2015a. Use nanmean
instead (either provided by the statistics toolbox, or by our fallback under
matlab/missing/stats/).
The TeX option crashes MATLAB R2014a run with "-nodisplay" option
(as is done from the testsuite). We disable the TeX option in that case.
Since we can’t directly test whether "-nodisplay" has been passed, we test for
the "TOP_TEST_DIR" environment variable, which is set by the testsuite.
Note that it was not tested whether the crash happens with more recent MATLAB
versions, so when OLD_MATLAB_VERSION is increased, one should make a test
before removing this workaround.
Because of a bug, Octave wrongly complains that matlab/+pac/+bgp/{get,set}.m
shadow built-in functions (see https://savannah.gnu.org/bugs/?46849).
We disable the warning as early as we can after running the dynare command.
However the warning will nevertheless appear two times in a given Octave
session (the first time when the addpath to Dynare is done, the second time
when the dynare command is run).
When merging the enterprise code, the dogleg subfunction was modified to
incorporate a call to decomposition(), which does not exist under Octave and
MATLAB < R2017b.
For those cases, we reinstate the old code (which uses a plain matrix right
divide).
The formulas are taken from commit c2acb4e30f7a99426a34dbdea26991459454c834 of
the homebrew-core repository.
The formulas were modified as follows:
— in the "bottle" do/end block, this line was added:
root_url "https://homebrew.bintray.com/bottles"
— in the "bottle" do/end block for gcc, this line was added:
cellar :any
The preprocessor has been updated accordingly.
Currently it is not applied consistently to all binaries we produce.
Moreover we do not really have a way to test support for older macOS versions.
If there are problems, we might reintroduce this flag later, but we will have
to it consistently across all binaries.