From 374dbf7d0ec248d462cd36e518f595a2356fc30e Mon Sep 17 00:00:00 2001 From: Chris <Christopher.Happe@uni-duesseldorf.de> Date: Tue, 13 Apr 2021 13:09:05 +0200 Subject: [PATCH] Update benchmark to make the syntax jython compatible --- benchmarks/Python_Primitives/sort_m2_data1000_exec.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/benchmarks/Python_Primitives/sort_m2_data1000_exec.py b/benchmarks/Python_Primitives/sort_m2_data1000_exec.py index 053c0d093..be05171f9 100644 --- a/benchmarks/Python_Primitives/sort_m2_data1000_exec.py +++ b/benchmarks/Python_Primitives/sort_m2_data1000_exec.py @@ -30,7 +30,6 @@ class sort_m2_data1000_exec(): self.sorted = self.sorted.plus(BInteger(1)) self._sort_m2_data1000.final_evt() - if __name__ == '__main__': - exec = sort_m2_data1000_exec() - exec.simulate() + execute = sort_m2_data1000_exec() + execute.simulate() -- GitLab