Skip to content

Commit 6f81b35

Browse files
committed
Fix use of last-state as starting-solution in Simulation.solve()
1 parent c78bed2 commit 6f81b35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pybamm/simulation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ def solve(
652652
cycle_sum_vars,
653653
cycle_first_state,
654654
) = pybamm.make_cycle_solution(
655-
starting_solution.steps,
655+
[starting_solution],
656656
esoh_solver=esoh_solver,
657657
save_this_cycle=True,
658658
)

0 commit comments

Comments
 (0)