Permalink
Browse files

fix stddev return value

Standard deviation was returning raw variance data.
  • Loading branch information...
1 parent 0013581 commit 199108d3fdf82cc34ee7e2980fc187cd4e684315 @cyberdelia committed Jun 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 metrology/instruments/histogram.py
@@ -89,7 +89,7 @@ def mean(self):
def stddev(self):
"""Returns the standard deviation."""
if self.counter.value > 0:
- return self.var.value
+ return self.variance
return 0.0
@property

0 comments on commit 199108d

Please sign in to comment.