Commit 62794a10 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Removed useless variable + Cosmetic change + Updated copyright

parent 42331f22
......@@ -29,7 +29,7 @@ function c = lt(a,b)
%! @end deftypefn
%@eod:
% Copyright (C) 2011 Dynare Team
% Copyright (C) 2011, 2012 Dynare Team
%
% This file is part of Dynare.
%
......@@ -48,8 +48,6 @@ function c = lt(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