diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-02-22 12:08:32 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-02-22 12:08:32 +0100 |
| commit | 11a75d564929e2d80a097e6c5484d004ea118904 (patch) | |
| tree | 5bd7f223cf277b476f06d68aaedfac5a1ee23489 /src/benchmark.py | |
| parent | 06f5010c86144353a777afe6d72730585a31c7dd (diff) | |
| download | allocbench-11a75d564929e2d80a097e6c5484d004ea118904.tar.gz allocbench-11a75d564929e2d80a097e6c5484d004ea118904.zip | |
save a valid result if we haven't seen one yet
Diffstat (limited to 'src/benchmark.py')
| -rw-r--r-- | src/benchmark.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
