Skip to content
Snippets Groups Projects
Commit 4e10c46c authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed bug.

Replaced eq method by isequal method.
parent 46b1dab4
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ if isempty(p)
return
end
if o==p
if isequal(o.length(),p.length()) && isequal(o, p)
% Return an empty dates object.
q = dates(o.freq);
if nargout>1, io = []; end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment