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

Fixed typo and replaced == with isequal in condition.

parent f9b4624c
Branches
No related tags found
No related merge requests found
......@@ -28,8 +28,8 @@ if ~isa(o,'dates') || ~isa(p,'dates')
error('dates:intersect:ArgCheck','All input arguments must be dates objects!')
end
if o.length()==p.length() && o==p
q = copy(a);
if o.length()==p.length() && isequal(o, p)
q = copy(o);
return
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment