Skip to content

Commit

Permalink
fix int/float bug (#5173)
Browse files Browse the repository at this point in the history
  • Loading branch information
dengemann authored and agramfort committed May 1, 2018
1 parent 786945e commit 9b13239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mne/io/egi/egi.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def __init__(self, input_fname, montage=None, eog=None, misc=None,
logger.info(' Reading events ...')
egi_events = _read_events(fid, egi_info) # update info + jump
if egi_info['value_range'] != 0 and egi_info['bits'] != 0:
cal = egi_info['value_range'] / 2 ** egi_info['bits']
cal = egi_info['value_range'] / 2. ** egi_info['bits']
else:
cal = 1e-6

Expand Down

0 comments on commit 9b13239

Please sign in to comment.