Skip to content
Snippets Groups Projects
Commit 597b8508 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Fix typo

parent 68dff500
Branches
Tags
No related merge requests found
...@@ -32,7 +32,7 @@ function B = subsref(A,S) ...@@ -32,7 +32,7 @@ function B = subsref(A,S)
%! @end deftypefn %! @end deftypefn
%@eod: %@eod:
% Copyright (C) 2011, 2012e Dynare Team % Copyright (C) 2011-2013 Dynare Team
% %
% This file is part of Dynare. % This file is part of Dynare.
% %
...@@ -62,11 +62,11 @@ if isequal(S(1).type,'.') ...@@ -62,11 +62,11 @@ if isequal(S(1).type,'.')
if isequal(S(2).type,'()') if isequal(S(2).type,'()')
B = feval(S(1).subs,A,S(2).subs{:}); B = feval(S(1).subs,A,S(2).subs{:});
else else
error('dynTime::subsref: Something is wrong in your syntax!') error('dynDates::subsref: Something is wrong in your syntax!')
end end
end end
otherwise otherwise
error('dynTime::subsref: Unknown public method or member!') error('dynDates::subsref: Unknown public method or member!')
end end
elseif isequal(S.type,'()') % Extract a sub-sample. elseif isequal(S.type,'()') % Extract a sub-sample.
if length(S.subs)==1 if length(S.subs)==1
...@@ -74,5 +74,5 @@ elseif isequal(S.type,'()') % ...@@ -74,5 +74,5 @@ elseif isequal(S.type,'()') %
end end
B = builtin('subsref', A.time, S); B = builtin('subsref', A.time, S);
else else
error('dynTime::subsref: Something is wrong in your syntax!') error('dynDates::subsref: Something is wrong in your syntax!')
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment