From 01738cdcfa46be90ff793e637bcd187546141687 Mon Sep 17 00:00:00 2001 From: ak643du Date: Mon, 4 Mar 2024 14:19:01 +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 bddea59..275a890 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -18,7 +18,7 @@ int main() { length = count; for (int i = length - 1; i > 0; i--) { - result += coefs[0] * coefs[i]; + result += coefs[0]^i * coefs[i]; } printf("Coefficients: ");