Skip to content

[Bug]: Time integral sum arg mismatch #5119

@BradyPlanden

Description

@BradyPlanden

PyBaMM Version

develop

Python Version

3.12

Describe the bug

A missing kwarg in the time integral sum is causing a bug where inputs are passed as ydot.

ret = self.post_sum_node.evaluate(0.0, the_integral, inputs).reshape(-1)

Steps to Reproduce

Pass inputs to a mode solve where the time integral depends on the corresponding input parameter

Relevant log output

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions