Skip to content

Commit 134995f

Browse files
bugfix in global_benchmark.py (#2509)
* Update global_benchmark.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 4f9d97c commit 134995f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

benchmarks/global_benchmark.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
import time
88
import timeit
99

10-
from configurations import configurations
11-
12-
from mesa.experimental.devs.simulator import ABMSimulator
13-
1410
# making sure we use this version of mesa and not one
1511
# also installed in site_packages or so.
1612
sys.path.insert(0, os.path.abspath(".."))
1713

14+
from configurations import configurations
15+
16+
from mesa.experimental.devs.simulator import ABMSimulator
17+
1818

1919
# Generic function to initialize and run a model
2020
def run_model(model_class, seed, parameters):

0 commit comments

Comments
 (0)