diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-05-10 09:49:31 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-06-02 11:18:47 +0200 |
| commit | 83c03e43465ac0a88a7775ed088a2e674e433cf8 (patch) | |
| tree | 0f67c352acad42016fb3ead90578e808168a7ec6 | |
| parent | 184753a6cf10bf24b50b06c66ea2a2ba8bedc6b3 (diff) | |
| download | allocbench-83c03e43465ac0a88a7775ed088a2e674e433cf8.tar.gz allocbench-83c03e43465ac0a88a7775ed088a2e674e433cf8.zip | |
plots: fix _eval_with_stat not really evaluating the ast node
| -rw-r--r-- | allocbench/plots.py | 2 |
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( |
