Skip to content

Commit 01b26f9

Browse files
committed
Switch to np.int64 instead of np.intp
1 parent 652335f commit 01b26f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neo/rawio/openephysbinaryrawio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,8 @@ def _parse_header(self):
292292
rising_indices.extend(rising)
293293
falling_indices.extend(falling)
294294

295-
rising_indices = np.array(rising_indices, dtype=np.intp)
296-
falling_indices = np.array(falling_indices, dtype=np.intp)
295+
rising_indices = np.array(rising_indices, dtype=np.int64)
296+
falling_indices = np.array(falling_indices, dtype=np.int64)
297297

298298
# Sort the indices to maintain chronological order
299299
sorted_order = np.argsort(rising_indices)

0 commit comments

Comments
 (0)