Several tests need to be adapted, because they were implicitly making the
assumption that there is no auxiliary variable.
Incidentally, this closes#1731. This commit therefore also removes the
workaround introduced in 0391dbbeb1.
[skip ci]
Removed Debian 9 from tested distros as it requires newer version of several packages such as GCC, Octave, bison
Removed Ubuntu 18.04 as it requires newer version of Octave
— FCFLAGS needs to contain the compilation flags used when compiling Octave,
otherwise it fails at configure stage when looking for gfortran
— Explicitly add -L$OCTLIBDIR, because with Octave 5 it is no longer there, and
on Fedora the Octave libraries are no in the default linker search path
In particular, this allows us to split the “test” and “pkg” stages, without
increasing the execution time.
(manually cherry picked from commit ac59b22015)
— Fix the interpretation of @#else clause within an @#ifndef
Closes: #1747
— Fix the interpretation of @#elseif clauses within an @#ifdef or @#ifndef
— PAC model: fixes to M_.pac.MODEL.ar (information about autoregressive part)
Ref. preprocessor#52
— PAC model: make detection of non-optimizing part more robust
Ref. preprocessor#50
— Fixes to Julia output
The routines use the find() function applied to a subset of columns of the
Jacobian, which in this case is a row vector. When passed a row vector, find()
returns row vectors (while it returns column vectors when passed a column
vector or a matrix). This case was not correctly handled.
– PAC model: fixes to M_.pac.MODEL.ar (information about autoregressive part)
+ Fix order of items in this structure. Previously, items were ordered
according to the declaration order of parameters. Now, items are order
according to lag order (first lag appears first)
+ Gracefully handle the case where there is no autoregressive part
(Ref. Dynare/preprocessor#52)
– Block decomposition:
+ bugfix for solve one boundary blocks with mfs>0
+ fix evaluation of recursive variables in solved blocks
(Ref. Dynare/dynare#1726)
— Fix various potential bugs with model local variable
— Ensure that negative constants are never marked as temporary terms
By the way, activate tests/pac/trend-component-31/example.mod, since it should
now work.
By the way, document and enforce the fact that stochastic extended_path (i.e.
order > 0) is not compatible with either bytecode or block.
Closes: #1742