mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-29 03:19:44 +00:00
Convert to float to compute stdev
This commit is contained in:
parent
03a7643301
commit
c6b7dfc23a
@ -350,7 +350,7 @@ def make_stats(source, key, values, precision):
|
||||
sum=fixed_float(sum(values), precision),
|
||||
mean=fixed_float(statistics.mean(values), precision),
|
||||
median=fixed_float(statistics.median(values), precision),
|
||||
stdev=fixed_float(statistics.stdev(values), precision),
|
||||
stdev=fixed_float(statistics.stdev(float(v) for v in values), precision),
|
||||
q95=fixed_float(numpy.quantile(values, 0.95), precision),
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user