summaryrefslogtreecommitdiff
path: root/ggml-quants.c
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2024-04-25 15:12:28 +0300
committerGitHub <noreply@github.com>2024-04-25 15:12:28 +0300
commit54770413c484660d021dd51b5dbacab7880b8827 (patch)
tree79ccb8884aa8f15aae6e5e68e64e96abd08712bc /ggml-quants.c
parentaa750c1ede6232c91de890a14a7731d6daa2bc8e (diff)
ggml : fix MIN / MAX macros (#6904)
ggml-ci
Diffstat (limited to 'ggml-quants.c')
-rw-r--r--ggml-quants.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ggml-quants.c b/ggml-quants.c
index 11e11c21..c147531d 100644
--- a/ggml-quants.c
+++ b/ggml-quants.c
@@ -14,12 +14,6 @@
#include <stdlib.h> // for qsort
#include <stdio.h> // for GGML_ASSERT
-#undef MIN
-#undef MAX
-
-#define MIN(a, b) ((a) < (b) ? (a) : (b))
-#define MAX(a, b) ((a) > (b) ? (a) : (b))
-
#define UNUSED GGML_UNUSED
// some compilers don't provide _mm256_set_m128i, e.g. gcc 7