Skip to content

Commit

Permalink
bugfix in global_benchmark.py (projectmesa#2509)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
quaquel and pre-commit-ci[bot] authored Nov 16, 2024
1 parent 4f9d97c commit 134995f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions benchmarks/global_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
import time
import timeit

from configurations import configurations

from mesa.experimental.devs.simulator import ABMSimulator

# making sure we use this version of mesa and not one
# also installed in site_packages or so.
sys.path.insert(0, os.path.abspath(".."))

from configurations import configurations

from mesa.experimental.devs.simulator import ABMSimulator


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

0 comments on commit 134995f

Please sign in to comment.