Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Sep 13, 2024
1 parent 343cea4 commit d6b213c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pybamm/solvers/base_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -864,9 +864,9 @@ def solve(
# If the new initial conditions are different
# and cannot be evaluated directly, set up again
self.set_up(model, model_inputs_list[0], t_eval, ics_only=True)
self._model_set_up[model][
"initial conditions"
] = model.concatenated_initial_conditions
self._model_set_up[model]["initial conditions"] = (
model.concatenated_initial_conditions
)
else:
# Set the standard initial conditions
self._set_initial_conditions(model, t_eval[0], model_inputs_list[0])
Expand Down

0 comments on commit d6b213c

Please sign in to comment.