You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix SplitFunction to use user-provided jvp function
When a user provides a jvp function to SplitFunction, it should be used
instead of falling back to automatic differentiation. The has_jvp check
was only checking f.f1 instead of first checking the SplitFunction's
own jvp field.
This fix checks the SplitFunction's own fields (jvp, vjp, jac, etc.)
first before delegating to f.f1, which allows user-provided analytical
derivatives to be used properly with matrix-free Krylov solvers.
FixesSciML/DifferentialEquations.jl#1109
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments