Unverified 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 c17bbe19e2a04dd1153c40347397350945a689fb)
parent 28000dcf
......@@ -38,9 +38,10 @@ if ~isequal(o.freq,p.freq)
% 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');
time = intersect(o.time,p.time,'rows','legacy');
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment