Skip to content

Commit

Permalink
Fixed segfault when no variants are present.
Browse files Browse the repository at this point in the history
  • Loading branch information
TimD1 committed Feb 2, 2024
1 parent 5615cd5 commit 078dff9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1678,6 +1678,7 @@ void precision_recall_threads_wrapper(
while (total_ram < g.max_ram && thread_step >= 0) {
while (sc_groups[thread_step][SC_IDX].size() == 0) {
thread_step--;
if (thread_step < 0) break;
}
bool thread4 = thread_step >= 2; // max_threads/4+
if (thread_step < 0) break;
Expand Down

0 comments on commit 078dff9

Please sign in to comment.