Skip to content

Commit

Permalink
Use tskit constant
Browse files Browse the repository at this point in the history
  • Loading branch information
szhan committed Feb 19, 2024
1 parent 4906434 commit f53c008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tests/beagle_numba.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def interpolate_allele_probs(sm, ref_h, typed_pos, untyped_pos, typed_cm, untype
:rtype: numpy.ndarray
"""
# TODO: Allow for biallelic site matrix. Work with `_tskit.lshmm` properly.
alleles = np.arange(4) # ACGT
alleles = np.arange(len(tskit.ALLELES_ACGT))
m = sm.shape[0]
x = ref_h.shape[0]
h = ref_h.shape[1]
Expand Down

0 comments on commit f53c008

Please sign in to comment.