mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Issue 26977, remove unneeded line in pvariance (duplicate call to _ss).
This commit is contained in:
parent
dba903993a
commit
bc62aae923
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue