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

Fix stats stdev rare NaN #100

Merged
merged 1 commit into from Jan 24, 2018
Merged

Fix stats stdev rare NaN #100

merged 1 commit into from Jan 24, 2018

Conversation

ldemailly
Copy link
Member

Fixes #97

Pretty fun bug !

@ldemailly
Copy link
Member Author

the new test prints:

W Unexpected negative sigma for &{Count:599713 Min:1281 Max:1281 Sum:7.68232353e+08 sumOfSquares:9.84105644193e+11}: -2.0354788457145334e-10

and was failing before the fix

@andraxylia
Copy link

/lgtm

@codecov
Copy link

codecov bot commented Jan 24, 2018

Codecov Report

Merging #100 into master will increase coverage by <.1%.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master    #100     +/-   ##
========================================
+ Coverage    86.8%   86.8%   +<.1%     
========================================
  Files           6       6             
  Lines        1346    1349      +3     
========================================
+ Hits         1168    1171      +3     
  Misses        126     126             
  Partials       52      52
Impacted Files Coverage Δ
stats/stats.go 98.7% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 44d1e6e...62c8ac6. Read the comment docs.

@ldemailly ldemailly merged commit 3b7d547 into master Jan 24, 2018
@ldemailly ldemailly deleted the json-nan branch January 24, 2018 01:56
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.

None yet

3 participants