We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 690bb18 commit 8d5126bCopy full SHA for 8d5126b
python/tests/beagle_numba.py
@@ -566,8 +566,8 @@ def interpolate_allele_probs(
566
# Threshold based on "the number of subsets in the partition Am of H".
567
threshold_Am = np.sum(is_a_in_ref_h)
568
_MIN_THRESHOLD = min(0.005, 1 / threshold_Am)
569
- sum_probs_a_k = state_mat[k, is_a_in_ref_h]
570
- sum_probs_a_kM1 = state_mat[k - 1, is_a_in_ref_h]
+ sum_probs_a_k = np.sum(state_mat[k, is_a_in_ref_h])
+ sum_probs_a_kM1 = np.sum(state_mat[k - 1, is_a_in_ref_h])
571
if k == 0:
572
# See 'setFirstAlleleProbs' in 'LSHapBaum.java'.
573
assert w == 1.0, "Weight should be 1.0."
0 commit comments