Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem adding long and float64 #43

Closed
AdmiralenOla opened this issue Nov 29, 2016 · 2 comments
Closed

Problem adding long and float64 #43

AdmiralenOla opened this issue Nov 29, 2016 · 2 comments
Assignees
Labels

Comments

@AdmiralenOla
Copy link
Owner

There is a strange bug where Scoary will sometimes crash with the following message:

TypeError: unsupported operand type(s) for +: 'long' and 'numpy.float64'

I don't know why only some systems are seeing this error. In fact, addition of long and numpy.float64 does not throw a TypeError on my 1.11.1 or 1.11.2 versions, but it does on some other systems.

@AdmiralenOla
Copy link
Owner Author

I've identified the problem, and now convert numpy.float64 values to float explicitly. These changes will be in version 1.6.8.

@AdmiralenOla
Copy link
Owner Author

Fixed in 1.6.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant