Skip to content

Fix ordinarydiffeq 2719 new - Use PreallocationTools.DiffCache for caching in SplitODEProblem - #1106

Merged
ChrisRackauckas merged 3 commits into
SciML:masterfrom
thomvet:fix-ordinarydiffeq-2719-new
Aug 15, 2025
Merged

ChrisRackauckas merged 3 commits into
SciML:masterfrom
thomvet:fix-ordinarydiffeq-2719-new

Conversation

@thomvet

@thomvet thomvet commented Aug 15, 2025 •

Copy link
Copy Markdown
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

Cleaner version of #1097
Addresses SciML/OrdinaryDiffEq.jl#2719
For test to pass, this still needs: SciML/DiffEqBase.jl#1188

@thomvet thomvet changed the title Fix ordinarydiffeq 2719 new Fix ordinarydiffeq 2719 new - Use PreallocationTools.DiffCache for caching in SplitODEProblem Aug 15, 2025
@ChrisRackauckas
ChrisRackauckas merged commit 2e9256a into SciML:master Aug 15, 2025
@thomvet
thomvet deleted the fix-ordinarydiffeq-2719-new branch August 15, 2025 12:13
kwargs...) where {iip}
if f._func_cache === nothing && iip
_func_cache = similar(u0)
_func_cache = DiffCache(u0)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.

3 participants