Fixed bug.

Replaced eq method by isequal method.
parent 46b1dab4
......@@ -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
......
Markdown is supported
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