Skip to content

Conversation

BradyPlanden
Copy link
Member

Description

Fixes #5036

Type of change

Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #)

Important checks:

Please confirm the following before marking the PR as ready for review:

  • No style issues: nox -s pre-commit
  • All tests pass: nox -s tests
  • The documentation builds: nox -s doctests
  • Code is commented for hard-to-understand areas
  • Tests added that prove fix is effective or that feature works

@BradyPlanden BradyPlanden requested a review from a team as a code owner May 30, 2025 09:40
Copy link

codecov bot commented May 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.58%. Comparing base (e1c0c87) to head (946df01).
⚠️ Report is 195 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #5037   +/-   ##
========================================
  Coverage    98.58%   98.58%           
========================================
  Files          304      304           
  Lines        23689    23691    +2     
========================================
+ Hits         23353    23355    +2     
  Misses         336      336           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@martinjrobins martinjrobins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @BradyPlanden. Would you mind also adding some comments here on the dimensions of the sensitivity variables and why the transpose is needed?

Copy link
Contributor

@martinjrobins martinjrobins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, as discussed we are currently doing DM -> numpy -> DM, can we change the vertcat to numpy so its just DM->numpy

martinjrobins
martinjrobins previously approved these changes Jun 2, 2025
Copy link
Contributor

@martinjrobins martinjrobins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yay, don't have to stick full() everywhere in the tests :)

@martinjrobins martinjrobins merged commit 62530b6 into pybamm-team:develop Jun 2, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: DiscreteTimeSum sensitivities error for input dimensions > 1
2 participants