-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add particle tests and fix nan checks bug #173
Conversation
I opened issue #174 to document one of the bugs I solved with the latest push. This is now also reflected in the issue number in the CHANGELOG. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added two comments with some suggestions but besides these everything looks very good. Thank you for the effort! I already approve the PR as the eventual adjustments are minor
This PR fixes some bugs in the Particle class. Today I wanted to complete the tests for the class and I realized, that we tested in all functions with
self.x == np.nan
, which should benp.isnan(self.x)
.I fixed this now in this PR and added test functions for all Particle class functions.
@NGoetz @nilssass Do we want to release a 1.1.1 version to fix this?