Skip to content

Commit 0ebe917

Browse files
fixes on gpu
1 parent 52a981f commit 0ebe917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_capi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ class Cells(xo.Struct):
732732

733733
counts = test_context.zeros(len(cell_ids), dtype=np.uint64)
734734
vals = test_context.zeros(12, dtype=np.uint64)
735-
success = test_context.ones((1,), dtype=np.uint8)
735+
success = test_context.zeros((1,), dtype=np.uint8) + 1
736736

737737
for i, _ in enumerate(particle_per_cell):
738738
for j, expected in enumerate(particle_per_cell[i]):

0 commit comments

Comments
 (0)