From 22d1f712aebd6ec4473a98d87d4d64f2f525943f Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Thu, 19 Dec 2024 08:43:38 +0000 Subject: Fix MAX macro --- lib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.h b/lib.h index 284fc8a..19196f4 100644 --- a/lib.h +++ b/lib.h @@ -17,7 +17,7 @@ typedef int16_t i16; typedef int32_t i32; typedef int64_t i64; -#define MAX(A, B) ((A) < (B) ? (A) : (B)) +#define MAX(A, B) ((A) < (B) ? (B) : (A)) #define MIN(A, B) ((A) > (B) ? (A) : (B)) #define MEMORY_DEFAULT 30000 -- cgit v1.2.3-13-gbd6f