From 1e265f2111a894c85560d667216d4dd7930474dc Mon Sep 17 00:00:00 2001 From: Xuan Son Nguyen Date: Fri, 2 Oct 2026 19:32:50 +0200 Subject: [PATCH] nits 2 --- src/models/clef.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/models/clef.cpp b/src/models/clef.cpp index 776bd3f6d3..1911efa7e2 100644 --- a/src/models/clef.cpp +++ b/src/models/clef.cpp @@ -159,8 +159,10 @@ static clef_spans clef_get_spans(const llama_ubatch & ubatch) { // each question needs an option res.valid = ok && !res.questions.empty() && std::find(has_option.begin(), has_option.end(), false) == has_option.end(); if (!res.valid) { - res.questions = {{ 0, 0, 0 }}; - res.options = {{ 0, 0, 0 }}; + res.questions.clear(); + res.options.clear(); + res.questions.push_back({ 0, 0, 0 }); + res.options.push_back({ 0, 0, 0 }); } return res; }