From 9ed1a7108c1eb0a0c02110dc49855f2c392a0323 Mon Sep 17 00:00:00 2001 From: nhatdongdang Date: Sun, 7 Jul 2024 04:02:00 +0000 Subject: [PATCH] Fix styling and variable naming --- src/matrix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix.h b/src/matrix.h index 4bc699c..a6cef19 100644 --- a/src/matrix.h +++ b/src/matrix.h @@ -7,7 +7,7 @@ typedef signed long i64; #define KERN_COLS 8 #define KERN_ROWS 4 #define SIMD_ALIGN 32 -#define SIMD_ALIGN_F32 (SIMD_ALIGN / 4) // f32 is 4 bytes +#define SIMD_ALIGN_F32 (SIMD_ALIGN / sizeof(f32)) // f32 is 4 bytes typedef struct vector { int len;