Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

stddev is the square-root of the variance #29

Merged
merged 1 commit into from

3 participants

@jordansissel

No description provided.

@ajsharp

+1

@eric
Owner

Oops. Thanks for catching this.

@eric eric merged commit 7fbca6d into eric:master

1 check passed

Details default The Travis build passed
@eric
Owner

Successfully registered gem: metriks (0.9.9.3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 12, 2013
  1. @jordansissel
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/metriks/histogram.rb
View
4 lib/metriks/histogram.rb
@@ -63,7 +63,7 @@ def mean
end
def stddev
- count > 0 ? variance : 0.0
+ count > 0 ? variance ** 0.5 : 0.0
end
def variance
@@ -109,4 +109,4 @@ def update_variance(value)
end
end
end
-end
+end
Something went wrong with that request. Please try again.