Skip to content

Commit d20ba6f

Browse files
committed
update static assert of GGML_OP_COUNT
1 parent e643fa1 commit d20ba6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4214,7 +4214,7 @@ static const char * GGML_OP_LABEL[GGML_OP_COUNT] = {
42144214
"MAP_BINARY",
42154215
};
42164216

4217-
static_assert(GGML_OP_COUNT == 49, "GGML_OP_COUNT != 49");
4217+
static_assert(GGML_OP_COUNT == 50, "GGML_OP_COUNT != 50");
42184218

42194219
static const char * GGML_OP_SYMBOL[GGML_OP_COUNT] = {
42204220
"none",
@@ -4274,7 +4274,7 @@ static const char * GGML_OP_SYMBOL[GGML_OP_COUNT] = {
42744274
"f(x,y)",
42754275
};
42764276

4277-
static_assert(GGML_OP_COUNT == 49, "GGML_OP_COUNT != 49");
4277+
static_assert(GGML_OP_COUNT == 50, "GGML_OP_COUNT != 50");
42784278

42794279
static_assert(sizeof(struct ggml_object)%GGML_MEM_ALIGN == 0, "ggml_object size must be a multiple of GGML_MEM_ALIGN");
42804280
static_assert(sizeof(struct ggml_tensor)%GGML_MEM_ALIGN == 0, "ggml_tensor size must be a multiple of GGML_MEM_ALIGN");

0 commit comments

Comments
 (0)