Skip to content

Fix data type of middle array index in calculate_summed_power#1

Open
SvenTwo wants to merge 2 commits intodanielsnider:masterfrom
SvenTwo:master
Open

Fix data type of middle array index in calculate_summed_power#1
SvenTwo wants to merge 2 commits intodanielsnider:masterfrom
SvenTwo:master

Conversation

@SvenTwo
Copy link

@SvenTwo SvenTwo commented Dec 29, 2017

You cannot index by a float even if the floating point part is zero. Just casting to int should fix it.

It's probably some semantic that changed in an update to numpy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant