Commit bc62aae9 authored by Steven D'Aprano's avatar Steven D'Aprano

Issue 26977, remove unneeded line in pvariance (duplicate call to _ss).

parent dba90399
......@@ -601,7 +601,6 @@ def pvariance(data, mu=None):
n = len(data)
if n < 1:
raise StatisticsError('pvariance requires at least one data point')
ss = _ss(data, mu)
T, ss = _ss(data, mu)
return _convert(ss/n, T)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment