From b6869849c2ffc8d414d74531634c3245a13a971f Mon Sep 17 00:00:00 2001 From: Michal_Lelonek Date: Mon, 16 Jan 2023 13:29:09 +0100 Subject: [PATCH] Update 'autocorr.m' --- autocorr.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autocorr.m b/autocorr.m index 60593ec..433aed4 100644 --- a/autocorr.m +++ b/autocorr.m @@ -29,7 +29,8 @@ if (nargin >= 2) && ~isempty(numLags) 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