summaryrefslogtreecommitdiff
path: root/llama.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llama.cpp')
-rw-r--r--llama.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llama.cpp b/llama.cpp
index 5ca11923..23b251ca 100644
--- a/llama.cpp
+++ b/llama.cpp
@@ -4393,7 +4393,7 @@ struct llama_logit_info {
}
return min_heap;
}
- float probability_from_logit(float logit) {
+ float probability_from_logit(float logit) const {
return normalizer * std::exp(logit - max_l);
}
};