From 11a75d564929e2d80a097e6c5484d004ea118904 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sat, 22 Feb 2020 12:08:32 +0100 Subject: save a valid result if we haven't seen one yet --- src/benchmark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/benchmark.py b/src/benchmark.py index 0b68b32..aac4f46 100644 --- a/src/benchmark.py +++ b/src/benchmark.py @@ -529,7 +529,7 @@ class Benchmark: # save a valid result so we can expand invalid ones - if valid_result is not None: + if valid_result is None: valid_result = result self.results[alloc_name][perm].append(result) -- cgit v1.2.3