Skip to content

Commit 0c2b99a

Browse files
committed
Fix typing issues with load/store_chunk in Python
1 parent 2ea6412 commit 0c2b99a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/python/unittest/API/APITest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2471,7 +2471,7 @@ def get_component_only():
24712471
iteration = series.snapshots()[0]
24722472
particles = iteration.particles["electrons"]
24732473

2474-
dset = io.Dataset(np.dtype("float"), [30])
2474+
dset = io.Dataset(np.dtype(np.float32), [30])
24752475
position_x = particles["position"]["x"]
24762476
position_x.reset_dataset(dset)
24772477
position_x[:] = np.arange(30, dtype=np.float32)

0 commit comments

Comments
 (0)