mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Issue 26977, remove unneeded line in pvariance (duplicate call to _ss).
This commit is contained in:
parent
18933ed6ab
commit
cc22984d9e
1 changed files with 0 additions and 1 deletions
|
@ -593,7 +593,6 @@ def pvariance(data, mu=None):
|
||||||
n = len(data)
|
n = len(data)
|
||||||
if n < 1:
|
if n < 1:
|
||||||
raise StatisticsError('pvariance requires at least one data point')
|
raise StatisticsError('pvariance requires at least one data point')
|
||||||
ss = _ss(data, mu)
|
|
||||||
T, ss = _ss(data, mu)
|
T, ss = _ss(data, mu)
|
||||||
return _convert(ss/n, T)
|
return _convert(ss/n, T)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue