Closed TomTranter closed 1 year ago
Need to update liionpack similar to https://github.com/pybamm-team/PyBaMM/pull/2859/files @tinosulzer can you quickly run me through what changed in casadi this afternoon?
I think the main issue here is the casadi integrator function used to return the initial condition in the solution and now doesn't. We're manually adding it back in PyBaMM but weren't in liionpack and the shape of the solution in the mapped integrator wasn't as expected so slicing was failing. Long term we want to just handle all solving in PyBaMM and do the circuit setup in liionpack so things like this shouldn't happen in future.
Discussed in https://github.com/pybamm-team/liionpack/discussions/257