Fixed typo in error and warning messages.

time-shift
Stéphane Adjemian (Charybdis) 2013-10-17 14:26:12 +02:00
parent f3a54ed79b
commit 1cf174bdb4
1 changed files with 4 additions and 4 deletions

View File

@ -27,11 +27,11 @@ function C = isequal(A,B)
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
if nargin~=2
error('dynSeries::eq: I need exactly two input arguments!')
error('dynSeries::isequal: I need exactly two input arguments!')
end
if ~(isa(A,'dynSeries') && isa(B,'dynSeries'))
error('dynSeries::eq: Both input arguments must be dynSeries objects!')
error('dynSeries::isequal: Both input arguments must be dynSeries objects!')
end
if ~isequal(A.nobs,B.nobs)
@ -55,11 +55,11 @@ if ~isequal(A.init,B.init)
end
if ~isequal(A.name,B.name)
warning('dynSeries::eq: Both input arguments do not have the same variables!')
warning('dynSeries::isequal: Both input arguments do not have the same variables!')
end
if ~isequal(A.tex,B.tex)
warning('dynSeries::eq: Both input arguments do not have the same tex names!')
warning('dynSeries::isequal: Both input arguments do not have the same tex names!')
end
C = isequal(A.data, B.data);