Skip to content

Commit 9d035c4

Browse files
committed
correct GGML_OP_COUNT assertion
1 parent df05913 commit 9d035c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml/src/ggml.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,7 @@ static const char * GGML_OP_NAME[GGML_OP_COUNT] = {
10191019
"GLU",
10201020
};
10211021

1022-
static_assert(GGML_OP_COUNT == 89, "GGML_OP_COUNT != 89");
1022+
static_assert(GGML_OP_COUNT == 90, "GGML_OP_COUNT != 90");
10231023

10241024
static const char * GGML_OP_SYMBOL[GGML_OP_COUNT] = {
10251025
"none",
@@ -1123,7 +1123,7 @@ static const char * GGML_OP_SYMBOL[GGML_OP_COUNT] = {
11231123
"glu(x)",
11241124
};
11251125

1126-
static_assert(GGML_OP_COUNT == 89, "GGML_OP_COUNT != 89");
1126+
static_assert(GGML_OP_COUNT == 90, "GGML_OP_COUNT != 90");
11271127

11281128
static_assert(GGML_OP_POOL_COUNT == 2, "GGML_OP_POOL_COUNT != 2");
11291129

0 commit comments

Comments
 (0)