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

Fix test for Octave/MATLAB versions w.r.t. ilu

The test would crash on Octave 4.0.
parent 990579e2
No related branches found
No related tags found
No related merge requests found
...@@ -91,7 +91,8 @@ if ~isoctave && matlab_ver_less_than('7.4') ...@@ -91,7 +91,8 @@ if ~isoctave && matlab_ver_less_than('7.4')
end end
% ilu is missing in old versions of MATLAB and in Octave < 4.0 % ilu is missing in old versions of MATLAB and in Octave < 4.0
if (isoctave && octave_ver_less_than('4.0')) || matlab_ver_less_than('7.4') if (isoctave && octave_ver_less_than('4.0')) || ..
(~isoctave && matlab_ver_less_than('7.4'))
addpath([dynareroot '/missing/ilu']) addpath([dynareroot '/missing/ilu'])
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment