Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

dualT4 should not be promoted with T since T might already be a dual#958

Closed
oscardssmith wants to merge 5 commits intoSciML:masterfrom
oscardssmith:fix-wrapfun_iip
Closed

dualT4 should not be promoted with T since T might already be a dual#958
oscardssmith wants to merge 5 commits intoSciML:masterfrom
oscardssmith:fix-wrapfun_iip

Conversation

@oscardssmith
Copy link
Copy Markdown
Member

this is the second part of the fix for SciML/DifferentialEquations.jl#994

@ChrisRackauckas
Copy link
Copy Markdown
Member

@oscardssmith
Copy link
Copy Markdown
Member Author

CI is required to confirm, but I think this might finally work. The problem we were running into previously is that tgrad actually has 2 different function signatures depending on whether we are inside a ForwardDiff call that was differentiating wrt the initial conditions (since doing so adds an extra ForwardDiff tag to the time type.

@ChrisRackauckas
Copy link
Copy Markdown
Member

@oscardssmith
Copy link
Copy Markdown
Member Author

yeah this pr I believe only works once my ordinarydiffeq pr is merged

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants