diff --git a/tests/test-llama-grammar.cpp b/tests/test-llama-grammar.cpp index f98c6531f..81c31e9e2 100644 --- a/tests/test-llama-grammar.cpp +++ b/tests/test-llama-grammar.cpp @@ -199,7 +199,7 @@ int main() uint32_t *cp = new uint32_t[2]; // dynamically allocate memory for code_point cp[0] = 37 + i; cp[1] = 0; - next_candidates[i] = {i, cp}; + next_candidates[i] = {i, cp, {}}; } std::vector>> expected_reject = {