Skip to content

Commit

Permalink
fix windows test (#2862)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #2862

Fix windows test introduced by range search diff

Reviewed By: algoriddle

Differential Revision: D45901726

fbshipit-source-id: 1abed4f53b0b0606cab572ddc359b0341f8eb1ec
  • Loading branch information
mdouze authored and facebook-github-bot committed May 17, 2023
1 parent 615e3fc commit 289d1da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_build_blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ def do_test(self, capacity, n):
""" test that we are able to lookup """
rs = np.random.RandomState(123)
# make sure we have unique values
keys = np.unique(rs.choice(2 ** 29, size=n))
keys = np.unique(rs.choice(2 ** 29, size=n).astype("int64"))
rs.shuffle(keys)
n = keys.size
vals = rs.choice(2 ** 30, size=n).astype('int64')
Expand Down

0 comments on commit 289d1da

Please sign in to comment.