From b43a80a3f4dff8a6c62159990315711e1063d8e5 Mon Sep 17 00:00:00 2001 From: Shing Zhan Date: Sun, 14 Jan 2024 16:57:47 +0000 Subject: [PATCH] Add TODO --- python/tests/beagle_numba.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/tests/beagle_numba.py b/python/tests/beagle_numba.py index c004328751..d3990c6341 100644 --- a/python/tests/beagle_numba.py +++ b/python/tests/beagle_numba.py @@ -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