From 41b171aa8c3649c20e40a44f8badf355242df863 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 21 Oct 2012 20:16:22 -0400 Subject: [PATCH] tabulate: fix sval -> return typo in _statistic(). --- pygrader/tabulate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.26.2