@@ -160,7 +160,7 @@ def test_rand(self):
160
160
self .assertTrue ((counts == 1 ).all ())
161
161
162
162
# Two large arrays that were created after each other don't share any values
163
- b = ht .random .rand (14 , 7 , 3 , 12 , 18 , 42 , split = 4 , dtype = ht .float64 )
163
+ b = ht .random .rand (14 , 7 , 3 , 12 , 18 , 42 , split = 0 , dtype = ht .float64 )
164
164
_ , t_counts = torch .unique (b .larray , return_counts = True )
165
165
# Assert that no value appears more than once locally
166
166
print ("DEBUGGING: t_counts>1: " , t_counts [t_counts > 1 ])
@@ -172,7 +172,7 @@ def test_rand(self):
172
172
print ("DEBUGGING: np_b.shape: " , np_b .shape )
173
173
_ , counts = np .unique (np_b , return_counts = True )
174
174
print ("DEBUGGING: counts>1: " , counts > 1 )
175
- print ("DEBUGGING: counts[counts > 1]: " , counts [counts > 1 ])
175
+ # print("DEBUGGING: counts[counts > 1]: ", counts[counts > 1])
176
176
print ("DEBUGGING: b when counts > 1: " , _ [counts > 1 ])
177
177
# Assert that no value appears more than once
178
178
self .assertTrue ((counts == 1 ).all ())
0 commit comments