Skip to content

Conversation

@marcobonici
Copy link
Contributor

Checklist

  • Appropriate tests were added
  • Any code changes were done in a way that does not break public API
  • All documentation related to code changes were updated
  • The new code follows the
    contributor guidelines, in particular the SciML Style Guide and
    COLPRAC.
  • Any new documentation only uses public API

Additional context

As described in #281 , Zygote was failing in differentiating IntegralProblems. This PR fixes that, by including a couple of rrules for this.
Disclosure: I initially used Claude Sonnet 4.5.
I ensured that the tests were failing before the fix on 1.12 and that they were running afterwards.
I also used JuliaFormatter to ensure consistent foramtting with SciML style.

@ChrisRackauckas
Copy link
Member

Yeah defining a rule for the problem constructor is a fine way to do it. I wonder what happened to the Tangents that make them no longer automatically work here, but this at least does the trick.

@ChrisRackauckas ChrisRackauckas merged commit f2fccdb into SciML:master Oct 17, 2025
7 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.

2 participants