Skip to content

Commit ba713de

Browse files
committed
np.math is deprecated call to math
1 parent 25d0f1d commit ba713de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/rawio/blackrockrawio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ def _get_timestamp_slice(self, timestamp, seg_index, t_start, t_stop):
646646
if t_start is None:
647647
ind_start = None
648648
else:
649-
ts = np.math.ceil(t_start * self.__nev_basic_header['timestamp_resolution'])
649+
ts = int(np.ceil(t_start * self.__nev_basic_header['timestamp_resolution']))
650650
ind_start = np.searchsorted(timestamp, ts)
651651

652652
if t_stop is None:

0 commit comments

Comments
 (0)