We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89e2869 commit edf6367Copy full SHA for edf6367
python/tests/beagle_numba.py
@@ -562,6 +562,7 @@ def interpolate_allele_probs(
562
for a in alleles:
563
is_a_in_ref_h = ref_h[i, :] == a
564
if np.sum(is_a_in_ref_h) == 0:
565
+ # This avoids division by zero when getting a threshold adaptively below.
566
continue
567
if use_threshold:
568
# TODO: Check whether this is implemented correctly. Not used by default.
0 commit comments