Skip to content

Commit

Permalink
Explicit batch_run import
Browse files Browse the repository at this point in the history
  • Loading branch information
EwoutH committed Sep 20, 2024
1 parent 3b726dd commit f2e3c8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/bank_reserves/batch_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def run_model(self):

def main():
# The existing batch run logic here
data = mesa.batch_run(
data = mesa.batchrunner.batch_run(
BankReservesModel,
br_params,
)
Expand Down
2 changes: 1 addition & 1 deletion examples/sugarscape_g1mt/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def main():
"metabolism_max": [2, 3, 4, 5],
}

results_batch = mesa.batch_run(
results_batch = mesa.batchrunner.batch_run(
SugarscapeG1mt,
parameters=params,
iterations=1,
Expand Down

0 comments on commit f2e3c8c

Please sign in to comment.