summaryrefslogtreecommitdiff
path: root/tests/test-llama-grammar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-llama-grammar.cpp')
-rw-r--r--tests/test-llama-grammar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-llama-grammar.cpp b/tests/test-llama-grammar.cpp
index f98c6531..81c31e9e 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<std::vector<std::pair<uint32_t, uint16_t>>> expected_reject = {