Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Oct 25, 2018
1 parent 4b4320a commit 45d4d94
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ function DiffEqBase.__solve(prob::BVProblem, alg::Shooting; kwargs...)
# Form a root finding function.
loss = function (resid, minimizer)
uEltype = eltype(minimizer)
tspan = (convert(uEltype,prob.tspan[1]),convert(uEltype,prob.tspan[2]))
tmp_prob = remake(prob,u0=minimizer)
sol = solve(tmp_prob,alg.ode_alg;kwargs...)
bc(resid,sol,sol.prob.p,sol.t)
Expand Down

0 comments on commit 45d4d94

Please sign in to comment.