ggml : fix MIN / MAX macros

ggml-ci
This commit is contained in:
Georgi Gerganov 2024-04-25 14:28:41 +03:00
parent aa750c1ede
commit 8c259f6f3e
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
2 changed files with 6 additions and 6 deletions

View file

@ -11,6 +11,12 @@
#include <string.h> // memcpy
#include <math.h> // fabsf
#undef MIN
#undef MAX
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#ifdef __cplusplus
extern "C" {
#endif