Commit 602d266b authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Removed useless variable + Cosmetic change.

parent 43396734
......@@ -48,8 +48,6 @@ function c = gt(a,b)
% Original author: stephane DOT adjemian AT univ DASH lemans DOT fr
verbose = 0;
if nargin~=2
error('dynDate::eq: I need exactly two input arguments!')
end
......@@ -58,7 +56,7 @@ if ~( isa(a,'dynDate') && isa(b,'dynDate'))
error(['dynDate::eq: Input arguments ' inputname(1) 'and ' inputname(2) ' have to be a dynDate objects!'])
end
if verbose && a.freq~=b.freq
if ~isequal(a.freq,b.freq)
error(['dynDate::eq: Input arguments ' inputname(1) 'and ' inputname(2) ' have no common frequencies!'])
end
......
Supports Markdown
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