-
-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passthrough AD in ode with complex numbers #860
Conversation
complex number support in promote_u0 and promote_tspan
Seems that |
This should solve the complex ad test. |
The Sundials thing is unrelated. The formatting failure is because it's not following the standard formatting rules https://docs.sciml.ai/SciMLStyle/stable/, but I'll just run the formatter after merging. In the future, remember to do: using JuliaFormatter, SomePackage
format(joinpath(dirname(pathof(SomePackage)), "..")) |
Found a small issue with complex numbers. The Dual of time in the ode function has NaN values. Meaning, in the ode function Example;
This does not show up in other cases, such as;
Also nan safe mode for ForwardDiff solve this. |
Open a new issue for this. |
see issue #858