]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
common : comma should be semicolon (#4137)
authorkchro3 <redacted>
Sun, 19 Nov 2023 16:52:57 +0000 (08:52 -0800)
committerGitHub <redacted>
Sun, 19 Nov 2023 16:52:57 +0000 (18:52 +0200)
common/common.cpp

index 7ee29f5ba492333d41e1656fa864954fa3fb2f3c..3f10b5d7f3afe0327b6723cab28be27f7c5f542d 100644 (file)
@@ -931,7 +931,7 @@ void llama_batch_add(
     const std::vector<llama_seq_id> & seq_ids,
                                bool   logits) {
     batch.token   [batch.n_tokens] = id;
-    batch.pos     [batch.n_tokens] = pos,
+    batch.pos     [batch.n_tokens] = pos;
     batch.n_seq_id[batch.n_tokens] = seq_ids.size();
     for (size_t i = 0; i < seq_ids.size(); ++i) {
         batch.seq_id[batch.n_tokens][i] = seq_ids[i];