Skip to content

Commit 99c7f7b

Browse files
committed
Maybe better
1 parent 0d2a505 commit 99c7f7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wfdb/io/convert/edf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ def read_edf(
399399
}
400400

401401
sig_data = np.empty((sig_len, n_sig))
402-
temp_sig_data = np.fromfile(edf_file, dtype=np.int16)
402+
temp_sig_data = np.fromfile(edf_file, dtype=np.int16).astype("int64")
403403
temp_sig_data = temp_sig_data.reshape((-1, sum(samps_per_block)))
404404
temp_all_sigs = np.hsplit(temp_sig_data, np.cumsum(samps_per_block)[:-1])
405405

0 commit comments

Comments
 (0)