Skip to content

Commit

Permalink
test split 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaudiaComito committed Dec 14, 2023
1 parent 2370e07 commit de7705c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion heat/core/tests/test_random.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def test_rand(self):
self.assertTrue((counts == 1).all())

# Two large arrays that were created after each other don't share any values
b = ht.random.rand(14, 7, 3, 12, 18, 42, split=2, dtype=ht.float64)
b = ht.random.rand(14, 7, 3, 12, 18, 42, split=3, dtype=ht.float64)
_, t_counts = torch.unique(b.larray, return_counts=True)
# Assert that no value appears more than once locally
print("DEBUGGING: t_counts>1: ", t_counts[t_counts > 1])
Expand Down

0 comments on commit de7705c

Please sign in to comment.