-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Support for u0 initial guess function #133
Conversation
I will fix the piracy once SciML/DiffEqBase.jl#959 is merged and released. |
aa61f0b
to
893d6b8
Compare
I want to get this in before #131, since that one is major release. |
__initial_state_from_prob(u0::AbstractArray, mesh) = [copy(vec(u0)) for _ in mesh] | ||
function __initial_state_from_prob(u0::AbstractVector{<:AbstractVector}, _) | ||
function __initial_guess(f::F, p::P, t::T) where {F, P, T} | ||
if static_hasmethod(f, Tuple{P, T}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note that in v1.10 this isn't needed, and it can be incorrect.
485a1fe
to
551694c
Compare
1429ad8
to
94cd200
Compare
Benchmark Results
Benchmark PlotsA plot of the benchmark results have been uploaded as an artifact to the workflow run for this PR. |
Fixes #128
TODOs
get_concrete_u0
patch so thatu0
as a function is propagated unlike IVPs