summaryrefslogtreecommitdiff
path: root/llama.h
diff options
context:
space:
mode:
authorMarcus Dunn <51931484+MarcusDunn@users.noreply.github.com>2023-08-25 09:17:15 -0700
committerGitHub <noreply@github.com>2023-08-25 19:17:15 +0300
commit232caf3c1581a6cb023571780ff41dc2d66d1ca0 (patch)
tree7465201fac641d80c58ea95a9dc7699f2e438e4f /llama.h
parentd046dcee081118c9071bbc63dacdb359a58c467a (diff)
llama : fix struct decl (#2790)
Diffstat (limited to 'llama.h')
-rw-r--r--llama.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llama.h b/llama.h
index 86737200..b77dd773 100644
--- a/llama.h
+++ b/llama.h
@@ -485,7 +485,7 @@ extern "C" {
// (e.g. beams[0]) as they will be removed (shifted) from all beams in all subsequent callbacks.
// These pointers are valid only during the synchronous callback, so should not be saved.
struct llama_beams_state {
- llama_beam_view * beam_views;
+ struct llama_beam_view * beam_views;
size_t n_beams; // Number of elements in beam_views[].
size_t common_prefix_length; // Current max length of prefix tokens shared by all beams.
bool last_call; // True iff this is the last callback invocation.