Skip to content

Conversation

@yausern
Copy link

@yausern yausern commented Jul 24, 2018

"+=" is a bad way of adding together np.array's of potentially different dtype. It throws and error when trying to do a displacement with dtype float. Using a more explicit "+" corrects the bug.

+= is a bad way of adding together np.array's of different dtype.  Using a more explicit +
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