Skip to content

Commit 536983b

Browse files
committed
ggml : fix assert message
1 parent 865af99 commit 536983b

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
@@ -2226,7 +2226,7 @@ static const char * GGML_OP_NAME[GGML_OP_COUNT] = {
22262226
"CROSS_ENTROPY_LOSS_BACK",
22272227
};
22282228

2229-
static_assert(GGML_OP_COUNT == 76, "GGML_OP_COUNT != 77");
2229+
static_assert(GGML_OP_COUNT == 76, "GGML_OP_COUNT != 76");
22302230

22312231
static const char * GGML_OP_SYMBOL[GGML_OP_COUNT] = {
22322232
"none",
@@ -2316,7 +2316,7 @@ static const char * GGML_OP_SYMBOL[GGML_OP_COUNT] = {
23162316
"cross_entropy_loss_back(x,y)",
23172317
};
23182318

2319-
static_assert(GGML_OP_COUNT == 76, "GGML_OP_COUNT != 77");
2319+
static_assert(GGML_OP_COUNT == 76, "GGML_OP_COUNT != 76");
23202320

23212321
static_assert(GGML_OP_POOL_COUNT == 2, "GGML_OP_POOL_COUNT != 2");
23222322

0 commit comments

Comments
 (0)