Skip to content

Commit

Permalink
Add njit
Browse files Browse the repository at this point in the history
  • Loading branch information
szhan committed Mar 4, 2024
1 parent 96f944a commit 8f26dc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/tests/beagle_numba.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ def get_transition_probs(cm, h, ne):
return trans_probs


@njit
def compute_emission_probability(mismatch_prob, is_match, *, num_alleles=2):
"""
Compute emission probability at a site based on whether the alleles
Expand Down

0 comments on commit 8f26dc5

Please sign in to comment.