Testsuite: remove obsolete conditionals for testing whether Octave version > 3.4
We now support Octave ≥ 4.2 only. By the way, in another test, use the isoctave function instead of manual test.time-shift
parent
9d99dafdd7
commit
628a8a6ff3
|
@ -120,25 +120,16 @@ end;
|
|||
|
||||
conditional_forecast(parameter_set=prior_mode, controlled_varexo=(e_a,e_m));
|
||||
|
||||
if ~(exist('OCTAVE_VERSION') && octave_ver_less_than('3.4.0'))
|
||||
plot_conditional_forecast(periods=10) gy_obs gp_obs;
|
||||
end
|
||||
|
||||
conditional_forecast(parameter_set=posterior_mode, controlled_varexo=(e_a,e_m));
|
||||
|
||||
if ~(exist('OCTAVE_VERSION') && octave_ver_less_than('3.4.0'))
|
||||
plot_conditional_forecast(periods=10) gy_obs gp_obs;
|
||||
end
|
||||
|
||||
conditional_forecast(parameter_set=posterior_mean, controlled_varexo=(e_a,e_m));
|
||||
|
||||
if ~(exist('OCTAVE_VERSION') && octave_ver_less_than('3.4.0'))
|
||||
plot_conditional_forecast(periods=10) gy_obs gp_obs;
|
||||
end
|
||||
|
||||
conditional_forecast(parameter_set=posterior_median, controlled_varexo=(e_a,e_m));
|
||||
|
||||
if ~(exist('OCTAVE_VERSION') && octave_ver_less_than('3.4.0'))
|
||||
plot_conditional_forecast(periods=10) gy_obs gp_obs;
|
||||
end
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ if any(abs(t4(:))>1e-12)
|
|||
error('Test failure:: Problem with the seed of the random number algorithm')
|
||||
end
|
||||
|
||||
if ~exist('OCTAVE_VERSION') && ~matlab_ver_less_than('7.7')
|
||||
if ~isoctave && ~matlab_ver_less_than('7.7')
|
||||
|
||||
set_dynare_seed('mlfg6331_64',0)
|
||||
stoch_simul(periods=1000,irf=0,nomoments);
|
||||
|
|
Loading…
Reference in New Issue