forrestbao / pyeeg

Python + EEG/MEG = PyEEG
GNU General Public License v3.0
241 stars 85 forks source link

Fixed bin_power slice index exception #22

Closed bdyetton closed 5 years ago

bdyetton commented 6 years ago

On python 3.6 i was getting an index slice error because the indexes into the C list were floats, not ints. I've cast them in this PR, and that seems to fix the issue.

forrestbao commented 5 years ago

Fixed in pull request #21 .