From 10672ff9a3ef3f32de6f1fd658275d8fc2e5a399 Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Thu, 18 Jul 2013 14:29:47 -0400 Subject: [PATCH] fix typo --- matlab/@dynDates/subsref.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matlab/@dynDates/subsref.m b/matlab/@dynDates/subsref.m index b1ac3a4b0..65cc3c354 100644 --- a/matlab/@dynDates/subsref.m +++ b/matlab/@dynDates/subsref.m @@ -72,7 +72,7 @@ switch S(1).type if isint(S(1).subs{1}) && S(1).subs{1}>0 && S(1).subs{1}<=A.ndat B = dynDate(A.time(S(1).subs{1},:),A.freq); else - error(['dynDates::subsref: the index have to be a positive integer less than or equal to ' int2str(A.ndat) '!']) + error(['dynDates::subsref: the index has to be a positive integer less than or equal to ' int2str(A.ndat) '!']) end else if isvector(S(1).subs{1}) && all(isint(S(1).subs{1})) && all(S(1).subs{1}>0) && all(S(1).subs{1}<=A.ndat) @@ -81,7 +81,7 @@ switch S(1).type B.time = A.time(S(1).subs{1},:); B.ndat = length(S(1).subs{1}); else - error(['dynDates::subsref: indices have to be a vector of positive integers less than or equal to ' int2str(A.ndat) '!']) + error(['dynDates::subsref: indices has to be a vector of positive integers less than or equal to ' int2str(A.ndat) '!']) end end otherwise