From f82a7dd019f5ae923a1d94d5b220c47854a417a0 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sat, 7 Jan 2023 09:34:39 +0200 Subject: [PATCH] ggml : make gcc happy (minor) --- ggml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml.c b/ggml.c index 70728fa2..c88eb227 100644 --- a/ggml.c +++ b/ggml.c @@ -1404,7 +1404,7 @@ struct ggml_context * ggml_init(struct ggml_init_params params) { const uint64_t t_start = ggml_time_us(); UNUSED(t_start); g_state = (struct ggml_state) { - /*.contexts =*/ { 0 }, + /*.contexts =*/ { { 0 } }, }; for (int i = 0; i < GGML_MAX_CONTEXTS; ++i) {