Skip to content

Commit 6f54438

Browse files
pre-commit-ci[bot]pipliggins
authored andcommitted
style: pre-commit fixes
1 parent 3e32d20 commit 6f54438

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/pybamm/solvers/base_solver.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -910,9 +910,9 @@ def solve(
910910
# If the new initial conditions are different
911911
# and cannot be evaluated directly, set up again
912912
self.set_up(model, model_inputs_list[0], t_eval, ics_only=True)
913-
self._model_set_up[model][
914-
"initial conditions"
915-
] = model.concatenated_initial_conditions
913+
self._model_set_up[model]["initial conditions"] = (
914+
model.concatenated_initial_conditions
915+
)
916916
else:
917917
# Set the standard initial conditions
918918
self._set_initial_conditions(model, t_eval[0], model_inputs_list[0])

tests/unit/test_solvers/test_base_solver.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,6 @@ def test_on_extrapolation_and_on_failure_settings(self):
448448
base_solver.on_failure = "invalid"
449449

450450
def test_solver_multiple_inputs_initial_conditions_error(self):
451-
452451
y = pybamm.Variable("y")
453452
y0 = pybamm.InputParameter("y0")
454453
k = pybamm.InputParameter("k")

0 commit comments

Comments
 (0)