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

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

parent 7743fc6f
No related branches found
No related tags found
No related merge requests found
......@@ -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
% 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')
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.
Please register or to comment