Skip to content

Commit cb35bb3

Browse files
committed
Specify dtype of haplotype arrays
1 parent 9f865e8 commit cb35bb3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

python/tests/test_imputation.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,16 @@
9292
1,
9393
0,
9494
],
95-
]
95+
],
96+
dtype=np.int32,
9697
)
9798

9899
toy_query_haplotypes_ACGT = np.array(
99100
[
100101
[2, 1, -1, 3, 0], # GCTA
101102
[0, 0, -1, 1, 0], # AACA
102-
]
103+
],
104+
dtype=np.int32,
103105
)
104106

105107

0 commit comments

Comments
 (0)