diff options
author | Eva Rachel Retuya <eraretuya@gmail.com> | 2017-03-20 19:27:05 +0800 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-03-25 16:47:13 +0000 |
commit | cf6c77323a96fc40309cc8a4921ef206cccdd961 (patch) | |
tree | 2cded1fce62a1f3975f28213dda3bd6a7997e536 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | d7ed89d5aadf09f1060cd3a9cf07df17447c7392 (diff) |
staging: iio: tsl2x7x_core: Fix standard deviation calculation
Standard deviation is calculated as the square root of the variance
where variance is the mean of sample_sum and length. Correct the
computation of statP->stddev in accordance to the proper calculation.
Fixes: 3c97c08b5735 ("staging: iio: add TAOS tsl2x7x driver")
Reported-by: Abhiram Balasubramanian <abhiram@cs.utah.edu>
Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions