Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
szhan committed Jan 14, 2024
1 parent 485dd57 commit b43a80a
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 @@ -117,6 +117,7 @@ def get_weights(genotyped_pos, ungenotyped_pos, genotyped_cm, ungenotyped_cm):
else:
# Between two genotyped markers.
cm_mP1_x = genotyped_cm[idx_m + 1] - ungenotyped_cm[idx_x]
# TODO: Check if this a subtle source of numerical error.
cm_mP1_m = max(genotyped_cm[idx_m + 1] - genotyped_cm[idx_m], MIN_CM_DIST)
weights[idx_x] = cm_mP1_x / cm_mP1_m
left_idx[idx_x] = idx_m
Expand Down

0 comments on commit b43a80a

Please sign in to comment.