Skip to content

Commit

Permalink
Use np.float64 instead of the deprecated np.float.
Browse files Browse the repository at this point in the history
Fixes #789
  • Loading branch information
molpopgen committed Jul 3, 2021
1 parent ffdc194 commit 5b54041
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_metadata_encoding_with_tskit.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@

np.random.seed(54321)

MOCK_NODE_TABLE_DTYPE = [("time", np.float), ("deme", np.int32)]
MOCK_NODE_TABLE_DTYPE = [("time", np.float64), ("deme", np.int32)]
MOCK_EDGE_TABLE_DTYPE = [
("left", np.float),
("right", np.float),
("left", np.float64),
("right", np.float64),
("parent", np.int32),
("child", np.int32),
]
Expand Down

0 comments on commit 5b54041

Please sign in to comment.