From 539dc73196e5f5c0aa8c38c924cb02fef7fadd29 Mon Sep 17 00:00:00 2001 From: richinseattle Date: Wed, 26 Jul 2023 22:12:32 -0700 Subject: [PATCH] fix whitespace --- run.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run.c b/run.c index 9d3c991..940db6f 100644 --- a/run.c +++ b/run.c @@ -194,7 +194,8 @@ void matmul(float* xout, float* x, float* w, int n, int d) { // W (d,n) @ x (n,) -> xout (d,) int i; #pragma omp parallel for private(i) - for (i = 0; i < d; i++) { float val = 0.0f; + for (i = 0; i < d; i++) { + float val = 0.0f; for (int j = 0; j < n; j++) { val += w[i * n + j] * x[j]; }