-
Notifications
You must be signed in to change notification settings - Fork 114
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
ditch negative zero in ftest output #501
Conversation
Codecov ReportBase: 87.08% // Head: 87.09% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #501 +/- ##
==========================================
+ Coverage 87.08% 87.09% +0.01%
==========================================
Files 7 7
Lines 929 930 +1
==========================================
+ Hits 809 810 +1
Misses 120 120
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Thanks. Just another though: maybe we should apply rounding only in This wouldn't fix tests that check internal fields directly, but anyway if we only clamp small negative values to zero, we have to use |
Can do, but mathematically this is non-adjusted R2, so should be strictly non-negative. Negative zero is just a floating point issue. |
Yes, I agree, but the choice of an arbitrary threshold is annoying, and it seems safer to just store whatever |
Co-authored-by: Milan Bouchet-Valat <nalimilan@club.fr>
closes #461.
I also updated some docstring tests so that they would pass. (cf. also #469)