Skip to content

Commit edf6367

Browse files
committed
Add comment
1 parent 89e2869 commit edf6367

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/tests/beagle_numba.py

+1
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,7 @@ def interpolate_allele_probs(
562562
for a in alleles:
563563
is_a_in_ref_h = ref_h[i, :] == a
564564
if np.sum(is_a_in_ref_h) == 0:
565+
# This avoids division by zero when getting a threshold adaptively below.
565566
continue
566567
if use_threshold:
567568
# TODO: Check whether this is implemented correctly. Not used by default.

0 commit comments

Comments
 (0)