Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 4, 2025
1 parent a6e7c11 commit faea9f4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions mesa/visualization/solara_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,13 +216,11 @@ async def step():
@function_logger(__name__)
def do_step():
"""Advance the model by one step."""

for _ in range(model_parameters.value['stepsize']):

for _ in range(model_parameters.value["stepsize"]):
model.value.step()

running.value = model.value.running

force_update()

@function_logger(__name__)
Expand Down

0 comments on commit faea9f4

Please sign in to comment.