Skip to content

Commit 025c273

Browse files
author
sprenger
committed
[debug] fix dtype to int64 to avoid windows using int32 by default
1 parent ae86e0e commit 025c273

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/rawio/neuralynxrawio/ncssections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def _parseForMaxGap(ncsMemMap, ncsSects, maxGapLen):
281281
# detect records with incomplete number of samples
282282
gap_rec_ids = list(np.where(ncsMemMap['nb_valid'] != exp_nb_valid)[0])
283283

284-
pred_times = np.rint(ncsMemMap['timestamp'] + 1e6 / ncsSects.sampFreqUsed * ncsMemMap['nb_valid']).astype(int)
284+
pred_times = np.rint(ncsMemMap['timestamp'] + 1e6 / ncsSects.sampFreqUsed * ncsMemMap['nb_valid']).astype(np.int64)
285285
max_pred_times = pred_times + maxGapLen
286286
# data records that start later than the predicted time (including the
287287
# maximal accepted gap length) are considered delayed a gap is

0 commit comments

Comments
 (0)