Skip to content

Commit 7a4e726

Browse files
committed
Fix bug
1 parent d90fd1f commit 7a4e726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/tests/test_beagle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ def run_beagle(ref_h, query_h, pos):
389389
assert len(query_h_genotyped) == m
390390
mu = get_mismatch_prob(genotyped_pos)
391391
assert len(mu) == m
392-
rho = get_switch_prob(genotyped_pos)
392+
rho = get_switch_prob(genotyped_pos, h, ne=10) # Small ref. panel
393393
assert len(rho) == m
394394
fm = compute_forward_probability_matrix(ref_h_genotyped, query_h_genotyped, rho, mu)
395395
assert fm.shape == (m, h)

0 commit comments

Comments
 (0)