From: W. Trevor King Date: Mon, 22 Oct 2012 00:16:22 +0000 (-0400) Subject: tabulate: fix sval -> return typo in _statistic(). X-Git-Url: http://git.tremily.us/?p=pygrader.git;a=commitdiff_plain;h=41b171aa8c3649c20e40a44f8badf355242df863 tabulate: fix sval -> return typo in _statistic(). --- diff --git a/pygrader/tabulate.py b/pygrader/tabulate.py index 1236b84..e070c7d 100644 --- 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 - sval = _std(iterable) + return _std(iterable) else: return gs.std() else: