Skip to content
Snippets Groups Projects
Commit 84d04c7c authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[engine.significance] Fix std calculation

parent 10bcaca7
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,7 @@ def _performance_summary(size, winperf, winsize, winstride, figure):
# calculate variances
std = numpy.zeros_like(avg)
for k in range(2, n.max() + 1):
std[n == k] = perf[: (k + 1), :, :].std(axis=0, ddof=1)[n == k]
std[n == k] = perf[:k].std(axis=0, ddof=1)[n == k]
return n, avg, std
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment