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