Skip to content
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

Minor Updates to Multiple Shooting #120

Merged
merged 3 commits into from
Oct 14, 2023

Conversation

avik-pal
Copy link
Member

No description provided.

@avik-pal avik-pal changed the title [WIP] Minor Updates to Multiple Shooting Minor Updates to Multiple Shooting Oct 12, 2023
@@ -236,7 +231,7 @@ function __solve(prob::BVProblem, _alg::MultipleShooting; odesolve_kwargs = (;),
nodes); resid_prototype, jac = jac_fn, jac_prototype)
nlprob = NonlinearProblem(loss_function!, u_at_nodes, prob.p)
sol_nlsolve = __solve(nlprob, alg.nlsolve; nlsolve_kwargs..., verbose, kwargs...)
# u_at_nodes = sol_nlsolve.u
u_at_nodes = sol_nlsolve.u::typeof(u0)
Copy link
Member

Choose a reason for hiding this comment

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

why is the type assert needed?

Copy link
Member Author

Choose a reason for hiding this comment

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

I tried figuring out where the exact type instability is coming from, but Cthulhu also breaks down...

@ChrisRackauckas ChrisRackauckas merged commit 4b210c6 into SciML:master Oct 14, 2023
9 of 10 checks passed
@avik-pal avik-pal deleted the ap/ms_improvements branch October 14, 2023 20:06
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.

2 participants