Fixed typo and replaced == with isequal in condition.

parent f9b4624c
......@@ -28,8 +28,8 @@ if ~isa(o,'dates') || ~isa(p,'dates')
error('dates:intersect:ArgCheck','All input arguments must be dates objects!')
if o.length()==p.length() && o==p
q = copy(a);
if o.length()==p.length() && isequal(o, p)
q = copy(o);
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