Fixed typo (useless space).

time-shift
Stéphane Adjemian (Charybdis) 2013-09-03 22:15:55 +02:00
parent c47131f052
commit a2d5873a3f
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ switch nargin
end
case 2 % provide time and freq to instantiate a dynDate object
date = dynDate();
if isnumeric(b) && isscalar(b) && ismember(b,[1,4,12,52])
if isnumeric(b) && isscalar(b) && ismember(b,[1,4,12,52])
date.freq = b;
if ~isnumeric(a) && size(a)~=2 && size(a,2)~=2
error(['dynDate:: Can''t instantiate the class! The first argument ' inputname(a) ' must be a 1*2 vector of integers.'])