Skip to content
Snippets Groups Projects
Verified Commit 1af5d476 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Octave compatibility fix: skip some tests under Octave 5.1, due to a bug in ordeig

(cherry picked from commit 9bac6a0d)
parent c52c2209
Branches
Tags
1 merge request!1815WIP Cherry-picks for 4.6
......@@ -19,9 +19,15 @@ end;
steady;
check;
% Skip test under Octave 5.1
% ordeig() is buggy in that version (but is fixed in later ones; and in older
% ones it is absent, so we use our replacement)
if ~isoctave || octave_ver_less_than('5.1') || ~octave_ver_less_than('5.2')
stoch_simul(periods=0, irf=30, order=1);
stoch_simul(periods=2000, irf=30, order=1);
stoch_simul(periods=0, irf=30, order=1,hp_filter=1600);
stoch_simul(periods=2000, irf=30, order=1,hp_filter=1600);
end
......@@ -20,8 +20,15 @@ end;
steady;
check;
% Skip test under Octave 5.1
% ordeig() is buggy in that version (but is fixed in later ones; and in older
% ones it is absent, so we use our replacement)
if ~isoctave || octave_ver_less_than('5.1') || ~octave_ver_less_than('5.2')
stoch_simul(periods=0, irf=30, order=1);
stoch_simul(periods=2000, irf=30, order=1);
stoch_simul(periods=0, irf=30, order=1,hp_filter=1600);
stoch_simul(periods=2000, irf=30, order=1,hp_filter=1600);
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment