Skip to content

Commit

Permalink
Remove tsk_bug_assertion in coalescence rates triggered by fp error
Browse files Browse the repository at this point in the history
  • Loading branch information
nspope committed Oct 17, 2024
1 parent 8342e74 commit f5db3a6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion c/tskit/trees.c
Original file line number Diff line number Diff line change
Expand Up @@ -9798,7 +9798,6 @@ pair_coalescence_rates(tsk_size_t input_dim, const double *weight, const double
}
coalesced = 0.0;
for (i = 0; i < j; i++) {
tsk_bug_assert(weight[i] >= 0 && weight[i] <= 1);
a = time_windows[i];
b = time_windows[i + 1];
if (i + 1 == j) {
Expand Down

0 comments on commit f5db3a6

Please sign in to comment.