From 1f31eaaf185c70f12c3c97c579f18a654f6f8385 Mon Sep 17 00:00:00 2001 From: ak643du Date: Mon, 4 Mar 2024 14:16:28 +0100 Subject: [PATCH] Initialization --- cv3/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv3/program.c b/cv3/program.c index 6a5998f..bddea59 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -17,7 +17,7 @@ int main() { length = count; - for (int i = length - 1; i >= 0; i--) { + for (int i = length - 1; i > 0; i--) { result += coefs[0] * coefs[i]; }