Skip to content

Commit ac6bed1

Browse files
jartcompilade
andauthored
Update llama.cpp
Co-authored-by: compilade <git@compilade.net>
1 parent 99291c0 commit ac6bed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17301,7 +17301,7 @@ float * llama_get_logits(struct llama_context * ctx) {
1730117301
return ctx->logits;
1730217302
}
1730317303

17304-
static float * llama_get_logits_ith_fail(int i, std::string reason) {
17304+
static float * llama_get_logits_ith_fail(int i, const std::string & reason) {
1730517305
LLAMA_LOG_ERROR("%s: invalid logits id %d, reason: %s\n", __func__, i, reason.c_str());
1730617306
#ifndef NDEBUG
1730717307
GGML_ASSERT(false);

0 commit comments

Comments
 (0)