Skip to content

Conversation

person142
Copy link
Member

In particular,

  • Move them into their own class
  • Add tests for invalid per arguments

First mentioned in #22.

- Move them into their own class
- Add tests for invalid `per` arguments
from decimal import Decimal
import math
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to confirm, this is to use math.isnan which works for Nan values from both decimal and numpy?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup!

@Kai-Striega
Copy link
Member

@person142 I'm happy with the changes as they are. Would you like to add any extra changes or are you happy for me to merge? Also, I lost track of this while working on something else (sorry!), if that happens in the future feel free to remind me and I'll try to move it up on my list of priorities.

@person142
Copy link
Member Author

Would you like to add any extra changes or are you happy for me to merge?

Let me improve that broadcasting test over the weekend. I’ve been meaning to do it but have been short on time.

@Kai-Striega
Copy link
Member

@person142 I'm going to merge these changes as they are and open an issue for the broadcasting issue. Thanks for taking the time to neaten the tests so far, I do think it's heading in the right direction.

@Kai-Striega Kai-Striega merged commit e3c2a4e into numpy:master Feb 5, 2020
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.

2 participants