This commit is contained in:
Michael J. Culbertson 2026-07-28 17:08:11 -05:00
parent fbb8787b7d
commit 895c841441
No known key found for this signature in database
GPG Key ID: A90905F47659F7FD
1 changed files with 1 additions and 1 deletions

View File

@ -7182,7 +7182,7 @@ int whisper_full_with_state(
std::vector<float> probs(n_logits);
// Get the SOT logits, which aren't at position 0 if there was a prompt prefix
const std::vector<float> sot_logits = state->logits;(
const std::vector<float> sot_logits(
state->logits.begin() + (size_t) sot_index * n_logits,
state->logits.begin() + (size_t) (sot_index + 1) * n_logits);