Skip to content

Commit 1c30c28

Browse files
committed
fix 2
1 parent ad72207 commit 1c30c28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/server/server-queue.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ server_task_result_ptr server_response_reader::next(const std::function<bool()>
305305
if (!states.empty()) {
306306
// update the generation state if needed
307307
size_t idx = result->get_index();
308-
GGML_ASSERT(idx >= 0 && idx < states.size());
308+
GGML_ASSERT(idx < states.size());
309309
result->update(states[idx]);
310310
}
311311
if (result->is_stop()) {

0 commit comments

Comments
 (0)