projects
/
pygrader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ef6d4da
)
tabulate: fix sval -> return typo in _statistic().
author
W. Trevor King
<wking@tremily.us>
Mon, 22 Oct 2012 00:16:22 +0000
(20:16 -0400)
committer
W. Trevor King
<wking@tremily.us>
Mon, 22 Oct 2012 00:16:22 +0000
(20:16 -0400)
pygrader/tabulate.py
patch
|
blob
|
history
diff --git
a/pygrader/tabulate.py
b/pygrader/tabulate.py
index 1236b842bfbeacc2cf30d84fff14b8948ebb7454..e070c7d018e9d37089eb098712f9da3a09074dfe 100644
(file)
--- a/
pygrader/tabulate.py
+++ b/
pygrader/tabulate.py
@@
-69,7
+69,7
@@
def _statistic(iterable, statistic):
return gs.mean()
elif statistic == 'Std. Dev.':
if _numpy is None: # work around missing numpy
return gs.mean()
elif statistic == 'Std. Dev.':
if _numpy is None: # work around missing numpy
-
sval =
_std(iterable)
+
return
_std(iterable)
else:
return gs.std()
else:
else:
return gs.std()
else: