Update 'autocorr.m'
This commit is contained in:
parent
a87913aca3
commit
b6869849c2
@ -29,7 +29,8 @@ if (nargin >= 2) && ~isempty(numLags)
|
|||||||
|
|
||||||
if (round(numLags) ~= numLags) || (numLags <= 0)
|
if (round(numLags) ~= numLags) || (numLags <= 0)
|
||||||
|
|
||||||
error('Number of lags must be a positive integer');
|
error('Number of lags must be a positive integer');
|
||||||
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user