From cb35bb36da5dfb68ae3e988a3f5255e4b99343d6 Mon Sep 17 00:00:00 2001 From: Shing Zhan Date: Wed, 9 Aug 2023 13:07:20 +0100 Subject: [PATCH] Specify dtype of haplotype arrays --- python/tests/test_imputation.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/python/tests/test_imputation.py b/python/tests/test_imputation.py index dba4ee0166..7b82e1e8e2 100644 --- a/python/tests/test_imputation.py +++ b/python/tests/test_imputation.py @@ -92,14 +92,16 @@ 1, 0, ], - ] + ], + dtype=np.int32, ) toy_query_haplotypes_ACGT = np.array( [ [2, 1, -1, 3, 0], # GCTA [0, 0, -1, 1, 0], # AACA - ] + ], + dtype=np.int32, )