Commit 32e57cf9 authored by Houtan Bastani's avatar Houtan Bastani

fix typos

(cherry picked from commit 2f57168c)
parent 5ad19f2b
......@@ -22,7 +22,7 @@ function us = qdiff(ts) % --*-- Unitary tests --*--
%! @end deftypefn
%@eod:
% Copyright (C) 2012-2013 Dynare Team
% Copyright (C) 2012-2015 Dynare Team
%
% This file is part of Dynare.
%
......@@ -43,7 +43,7 @@ us = ts;
switch frequency(ts)
case 1
error('dseries::qgrowth: I cannot compute quaterly differences from yearly data!')
error('dseries::qdiff: I cannot compute quaterly differences from yearly data!')
case 4
us.data(2:end,:) = ts.data(2:end,:)-ts.data(1:end-1,:);
us.data(1,:) = NaN;
......@@ -59,9 +59,9 @@ switch frequency(ts)
us.tex(i) = {['\Delta_3 ' us.tex{i}]};
end
case 52
error('dseries::qgrowth: I do not know yet how to compute quaterly differences from weekly data!')
error('dseries::qdiff: I do not know yet how to compute quaterly differences from weekly data!')
otherwise
error(['dseries::ygrowth: object ' inputname(1) ' has unknown frequency']);
error(['dseries::qdiff: object ' inputname(1) ' has unknown frequency']);
end
%@test:1
......
......@@ -22,7 +22,7 @@ function us = qgrowth(ts) % --*-- Unitary tests --*--
%! @end deftypefn
%@eod:
% Copyright (C) 2012-2013 Dynare Team
% Copyright (C) 2012-2015 Dynare Team
%
% This file is part of Dynare.
%
......@@ -61,7 +61,7 @@ switch frequency(ts)
case 52
error('dseries::qgrowth: I do not know yet how to compute quaterly growth rates from weekly data!')
otherwise
error(['dseries::ygrowth: object ' inputname(1) ' has unknown frequency']);
error(['dseries::qgrowth: object ' inputname(1) ' has unknown frequency']);
end
%@test:1
......
......@@ -22,7 +22,7 @@ function us = ydiff(ts) % --*-- Unitary tests --*--
%! @end deftypefn
%@eod:
% Copyright (C) 2012-2013 Dynare Team
% Copyright (C) 2012-2015 Dynare Team
%
% This file is part of Dynare.
%
......@@ -71,7 +71,7 @@ switch frequency(ts)
us.tex(i) = {['\Delta_{52} ' us.tex{i}]};
end
otherwise
error(['dseries::ygrowth: object ' inputname(1) ' has unknown frequency']);
error(['dseries::ydiff: object ' inputname(1) ' has unknown frequency']);
end
%@test:1
......
Markdown is supported
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