aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--allocbench/plots.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/allocbench/plots.py b/allocbench/plots.py
index a2a17d4..2d2bc8c 100644
--- a/allocbench/plots.py
+++ b/allocbench/plots.py
@@ -125,7 +125,7 @@ def _eval_with_stat(bench, evaluation, alloc, perm, stat):
node = ast.parse(expr, mode='eval')
try:
- return _eval(node)
+ return _eval(node.body)
except TypeError:
print_debug(traceback.format_exc())
print_warn(