Skip to content

Commit

Permalink
add ordereddict to BatchrunerMP for python 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
tpike3 committed Aug 23, 2020
1 parent 48f7e12 commit 932b82c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesa/batchrunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ def run_all(self):
run_iter_args, total_iterations = self._make_model_args_mp()
# register the process pool and init a queue
# store results in dictionary
results = {}
results = OrderedDict()

if self.processes > 1:
with tqdm(total_iterations, disable=not self.display_progress) as pbar:
Expand Down

0 comments on commit 932b82c

Please sign in to comment.