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

intersect(…, 'rows', 'legacy') will be fixed in Octave 6.2.0

(manually cherry picked from commit c17bbe19)
parent 28000dcf
No related branches found
No related tags found
No related merge requests found
Pipeline #4603 failed
......@@ -38,9 +38,10 @@ if ~isequal(o.freq,p.freq)
return
end
% Octave 6.1.0 added support for the 'legacy' option, but we don't use it
% because of this bug: https://savannah.gnu.org/bugs/?59708
if isoctave || matlab_ver_less_than('8.1.0')
% Octave 6.1.0 added support for the 'legacy' option, but it was buggy.
% The problem should be fixed in Octave 6.2.0.
% See: https://savannah.gnu.org/bugs/?59708
if (isoctave && octave_ver_less_than('6.2')) || (~isoctave && matlab_ver_less_than('8.1.0'))
time = intersect(o.time,p.time,'rows');
else
time = intersect(o.time,p.time,'rows','legacy');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment