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

Breaking change of Stats.min and Stats.max #422

Merged
merged 2 commits into from
Aug 14, 2018
Merged

Breaking change of Stats.min and Stats.max #422

merged 2 commits into from
Aug 14, 2018

Conversation

zyzhu
Copy link
Contributor

@zyzhu zyzhu commented Aug 14, 2018

To address issue #419

  1. Renamed original min/max functions to tryMin/tryMax
  2. Added new min/max functions that output Double.NaN. I figure all other inline functions essentially converted integer to float in output. It's ok to have Stats.min and Stats.max output float as well. User can convert it back to int if they really want to stick to the original type. This design is still easier to use than the original optional values.

@zyzhu zyzhu merged commit dd2c2ca into fslaborg:master Aug 14, 2018
@zyzhu zyzhu deleted the issue-419 branch August 14, 2018 20:51
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