Skip to content
Snippets Groups Projects
Commit 2313ec2d authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed function name, header and error message.

parent a1c8c785
No related branches found
No related tags found
No related merge requests found
function dd = sort(dd) function dd = unique(dd)
% unique method for dynDates class. % unique method for dynDates class.
%@info: %@info:
...@@ -28,7 +28,7 @@ function dd = sort(dd) ...@@ -28,7 +28,7 @@ function dd = sort(dd)
%! @end deftypefn %! @end deftypefn
%@eod: %@eod:
% Copyright (C) 2011 Dynare Team % Copyright (C) 2012 Dynare Team
% %
% This file is part of Dynare. % This file is part of Dynare.
% %
...@@ -48,7 +48,7 @@ function dd = sort(dd) ...@@ -48,7 +48,7 @@ function dd = sort(dd)
% AUTHOR(S) stephane DOT adjemian AT univ DASH lemans DOT fr % AUTHOR(S) stephane DOT adjemian AT univ DASH lemans DOT fr
if ~isa(dd,'dynDates') if ~isa(dd,'dynDates')
error(['dynDates::sort: Input argument ' inputname(dd) ' has to be a dynDates object.']) error(['dynDates::unique: Input argument ' inputname(dd) ' has to be a dynDates object.'])
end end
if dd.ndat==1 if dd.ndat==1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment