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;