Fixed bug.

freq member was not defined when both inputs were dates objects.
parent f55072de
......@@ -43,7 +43,7 @@ if isa(o,'dates') && isa(p,'dates')
return
end
q = dates();
q.freq = q.freq;
q.freq = o.freq;
q.time = [o.time; p.time];
q.ndat = o.ndat+p.ndat;
elseif isa(o,'dates') || isa(p,'dates')
......
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