Skip to content

Commit 12009e3

Browse files
committed
Fix tag checking
1 parent 2b22be3 commit 12009e3

12 files changed

+77
-68
lines changed

Manifest.toml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ version = "0.2.0"
3131

3232
[[deps.ArrayInterface]]
3333
deps = ["Adapt", "LinearAlgebra", "Requires", "SparseArrays", "SuiteSparse"]
34-
git-tree-sha1 = "f83ec24f76d4c8f525099b2ac475fc098138ec31"
34+
git-tree-sha1 = "eba0af42241f0cb648806604222bab1e064edb67"
3535
uuid = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
36-
version = "7.4.11"
36+
version = "7.5.0"
3737

3838
[deps.ArrayInterface.extensions]
3939
ArrayInterfaceBandedMatricesExt = "BandedMatrices"
@@ -59,9 +59,9 @@ version = "0.1.29"
5959

6060
[[deps.ArrayLayouts]]
6161
deps = ["FillArrays", "LinearAlgebra"]
62-
git-tree-sha1 = "9a731850434825d183af39c6e6cd0a1c32dd7e20"
62+
git-tree-sha1 = "af43df5704827c8618afd36eb56fcab20d3041ee"
6363
uuid = "4c555306-a7a7-4459-81d9-ec55ddd5c99a"
64-
version = "1.4.2"
64+
version = "1.4.3"
6565
weakdeps = ["SparseArrays"]
6666

6767
[deps.ArrayLayouts.extensions]
@@ -184,9 +184,11 @@ uuid = "ade2ca70-3891-5945-98fb-dc099432e06a"
184184

185185
[[deps.DiffEqBase]]
186186
deps = ["ArrayInterface", "ChainRulesCore", "DataStructures", "DocStringExtensions", "EnumX", "EnzymeCore", "FastBroadcast", "ForwardDiff", "FunctionWrappers", "FunctionWrappersWrappers", "LinearAlgebra", "Logging", "Markdown", "MuladdMacro", "Parameters", "PreallocationTools", "PrecompileTools", "Printf", "RecursiveArrayTools", "Reexport", "Requires", "SciMLBase", "SciMLOperators", "Setfield", "SparseArrays", "Static", "StaticArraysCore", "Statistics", "Tricks", "TruncatedStacktraces", "ZygoteRules"]
187-
git-tree-sha1 = "59842b690c2ed12428a741c1334f3c68d1377fb6"
187+
git-tree-sha1 = "53ad089996089756cae5a098b1a0542aeaab466f"
188+
repo-rev = "master"
189+
repo-url = "https://github.com/SciML/DiffEqBase.jl.git"
188190
uuid = "2b5f629d-d688-5b77-993f-72d75c75574e"
189-
version = "6.135.0"
191+
version = "6.136.0"
190192

191193
[deps.DiffEqBase.extensions]
192194
DiffEqBaseDistributionsExt = "Distributions"
@@ -443,9 +445,9 @@ uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
443445

444446
[[deps.LinearSolve]]
445447
deps = ["ArrayInterface", "ConcreteStructs", "DocStringExtensions", "EnumX", "EnzymeCore", "FastLapackInterface", "GPUArraysCore", "InteractiveUtils", "KLU", "Krylov", "Libdl", "LinearAlgebra", "MKL_jll", "PrecompileTools", "Preferences", "RecursiveFactorization", "Reexport", "Requires", "SciMLBase", "SciMLOperators", "Setfield", "SparseArrays", "Sparspak", "SuiteSparse", "UnPack"]
446-
git-tree-sha1 = "a563cd835c9ed5295c35a7d140e0bf0a514bb10a"
448+
git-tree-sha1 = "9f807ca41005f9a8f092716e48022ee5b36cf5b1"
447449
uuid = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae"
448-
version = "2.13.0"
450+
version = "2.14.1"
449451

450452
[deps.LinearSolve.extensions]
451453
LinearSolveBandedMatricesExt = "BandedMatrices"
@@ -559,7 +561,7 @@ version = "1.2.0"
559561

560562
[[deps.NonlinearSolve]]
561563
deps = ["ADTypes", "ArrayInterface", "ConcreteStructs", "DiffEqBase", "EnumX", "FiniteDiff", "ForwardDiff", "LineSearches", "LinearAlgebra", "LinearSolve", "PrecompileTools", "RecursiveArrayTools", "Reexport", "SciMLBase", "SimpleNonlinearSolve", "SparseArrays", "SparseDiffTools", "StaticArraysCore", "UnPack"]
562-
git-tree-sha1 = "ed0c7e75b1e6fac8e87d037a366c0094d49d1904"
564+
git-tree-sha1 = "0821f2d1d6e4629e83cee6bce5b24049f1e95918"
563565
repo-rev = "ap/fixes"
564566
repo-url = "https://github.com/avik-pal/NonlinearSolve.jl"
565567
uuid = "8913a72c-1f9b-4ce2-8d82-65094dcecaec"
@@ -675,9 +677,9 @@ version = "1.3.4"
675677

676678
[[deps.RecursiveArrayTools]]
677679
deps = ["Adapt", "ArrayInterface", "DocStringExtensions", "GPUArraysCore", "IteratorInterfaceExtensions", "LinearAlgebra", "RecipesBase", "Requires", "StaticArraysCore", "Statistics", "SymbolicIndexingInterface", "Tables"]
678-
git-tree-sha1 = "d7087c013e8a496ff396bae843b1e16d9a30ede8"
680+
git-tree-sha1 = "fa453b42ba1623bd2e70260bf44dac850a3430a7"
679681
uuid = "731186ca-8d62-57ce-b412-fbd966d074cd"
680-
version = "2.38.10"
682+
version = "2.39.0"
681683

682684
[deps.RecursiveArrayTools.extensions]
683685
RecursiveArrayToolsMeasurementsExt = "Measurements"
@@ -725,9 +727,9 @@ version = "0.1.0"
725727

726728
[[deps.SLEEFPirates]]
727729
deps = ["IfElse", "Static", "VectorizationBase"]
728-
git-tree-sha1 = "4b8586aece42bee682399c4c4aee95446aa5cd19"
730+
git-tree-sha1 = "3aac6d68c5e57449f5b9b865c9ba50ac2970c4cf"
729731
uuid = "476501e8-09a2-5ece-8869-fb82de89a1fa"
730-
version = "0.6.39"
732+
version = "0.6.42"
731733

732734
[[deps.SciMLBase]]
733735
deps = ["ADTypes", "ArrayInterface", "ChainRulesCore", "CommonSolve", "ConstructionBase", "Distributed", "DocStringExtensions", "EnumX", "FillArrays", "FunctionWrappersWrappers", "IteratorInterfaceExtensions", "LinearAlgebra", "Logging", "Markdown", "PrecompileTools", "Preferences", "RecipesBase", "RecursiveArrayTools", "Reexport", "RuntimeGeneratedFunctions", "SciMLOperators", "StaticArraysCore", "Statistics", "SymbolicIndexingInterface", "Tables", "TruncatedStacktraces", "ZygoteRules"]
@@ -802,11 +804,11 @@ version = "1.10.0"
802804

803805
[[deps.SparseDiffTools]]
804806
deps = ["ADTypes", "Adapt", "ArrayInterface", "Compat", "DataStructures", "FiniteDiff", "ForwardDiff", "Graphs", "LinearAlgebra", "PackageExtensionCompat", "Random", "Reexport", "SciMLOperators", "Setfield", "SparseArrays", "StaticArrayInterface", "StaticArrays", "Tricks", "UnPack", "VertexSafeGraphs"]
805-
git-tree-sha1 = "fcc87cf2750372313d0f761b7dbd75b559c646a4"
806-
repo-rev = "patch-1"
807+
git-tree-sha1 = "888937b8348e1e9ffae1c31efa61e693bc5463ba"
808+
repo-rev = "ap/tagging"
807809
repo-url = "https://github.com/avik-pal/SparseDiffTools.jl"
808810
uuid = "47a9eef4-7e08-11e9-0b38-333d64bd3804"
809-
version = "2.9.1"
811+
version = "2.9.2"
810812

811813
[deps.SparseDiffTools.extensions]
812814
SparseDiffToolsEnzymeExt = "Enzyme"

ext/BoundaryValueDiffEqODEInterfaceExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ end
6666
# BVPSOL
6767
#-------
6868
function __solve(prob::BVProblem, alg::BVPSOL; maxiters = 1000, reltol = 1e-3,
69-
dt = 0.0, verbose = true, kwargs...)
69+
dt = 0.0, verbose = true, kwargs...)
7070
_test_bvpm2_bvpsol_problem_criteria(prob, prob.problem_type, :BVPSOL)
7171
@assert isa(prob.p, SciMLBase.NullParameters) "BVPSOL only supports NullParameters!"
7272
@assert isa(prob.u0, AbstractVector{<:AbstractArray}) "BVPSOL requires a vector of initial guesses!"

src/adaptivity.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ end
8484
Generate a new mesh based on the `ŝ`.
8585
"""
8686
function redistribute!(cache::MIRKCache{iip, T}, Nsub_star, ŝ, mesh,
87-
mesh_dt) where {iip, T}
87+
mesh_dt) where {iip, T}
8888
N = length(mesh)
8989
ζ = sum(ŝ .* mesh_dt) / Nsub_star
9090
k, i = 1, 0

src/algorithms.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function update_nshoots(alg::MultipleShooting, nshoots::Int)
4141
end
4242

4343
function MultipleShooting(nshoots::Int, ode_alg; nlsolve = NewtonRaphson(),
44-
grid_coarsening = true, jac_alg = BVPJacobianAlgorithm())
44+
grid_coarsening = true, jac_alg = BVPJacobianAlgorithm())
4545
@assert grid_coarsening isa Bool || grid_coarsening isa Function ||
4646
grid_coarsening isa AbstractVector{<:Integer} ||
4747
grid_coarsening isa NTuple{N, <:Integer} where {N}

src/collocation.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ function Φ!(residual, cache::MIRKCache, y, u, p = cache.p)
44
end
55

66
@views function Φ!(residual, fᵢ_cache, k_discrete, f!, TU::MIRKTableau, y, u, p,
7-
mesh, mesh_dt, stage::Int)
7+
mesh, mesh_dt, stage::Int)
88
@unpack c, v, x, b = TU
99

1010
tmp = get_tmp(fᵢ_cache, u)
@@ -35,7 +35,7 @@ function Φ(cache::MIRKCache, y, u, p = cache.p)
3535
end
3636

3737
@views function Φ(fᵢ_cache, k_discrete, f, TU::MIRKTableau, y, u, p, mesh, mesh_dt,
38-
stage::Int)
38+
stage::Int)
3939
@unpack c, v, x, b = TU
4040
residuals = [similar(yᵢ) for yᵢ in y[1:(end - 1)]]
4141
tmp = get_tmp(fᵢ_cache, u)

src/interpolation.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ end
1919
# FIXME: Fix the interpolation outside the tspan
2020

2121
@inline function interpolation(tvals, id::I, idxs, deriv::D, p,
22-
continuity::Symbol = :left) where {I, D}
22+
continuity::Symbol = :left) where {I, D}
2323
@unpack t, u, cache = id
2424
tdir = sign(t[end] - t[1])
2525
idx = sortperm(tvals, rev = tdir < 0)
@@ -41,7 +41,7 @@ end
4141
end
4242

4343
@inline function interpolation!(vals, tvals, id::I, idxs, deriv::D, p,
44-
continuity::Symbol = :left) where {I, D}
44+
continuity::Symbol = :left) where {I, D}
4545
@unpack t, cache = id
4646
tdir = sign(t[end] - t[1])
4747
idx = sortperm(tvals, rev = tdir < 0)
@@ -54,7 +54,7 @@ end
5454
end
5555

5656
@inline function interpolation(tval::Number, id::I, idxs, deriv::D, p,
57-
continuity::Symbol = :left) where {I, D}
57+
continuity::Symbol = :left) where {I, D}
5858
z = similar(id.cache.fᵢ₂_cache)
5959
interp_eval!(z, id.cache, tval, id.cache.mesh, id.cache.mesh_dt)
6060
return z

src/solve/mirk.jl

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ end
3232
Base.eltype(::MIRKCache{iip, T}) where {iip, T} = T
3333

3434
function SciMLBase.__init(prob::BVProblem, alg::AbstractMIRK; dt = 0.0,
35-
abstol = 1e-3, adaptive = true, kwargs...)
35+
abstol = 1e-3, adaptive = true, kwargs...)
3636
@set! alg.jac_alg = concrete_jacobian_algorithm(alg.jac_alg, prob, alg)
3737
iip = isinplace(prob)
3838
_, T, M, n, X = __extract_problem_details(prob; dt, check_positive_dt = true)
@@ -125,7 +125,7 @@ function __expand_cache!(cache::MIRKCache)
125125
end
126126

127127
function __split_mirk_kwargs(; defect_threshold, MxNsub, abstol, dt, adaptive = true,
128-
kwargs...)
128+
kwargs...)
129129
return ((defect_threshold, MxNsub, abstol, adaptive, dt),
130130
(; abstol, adaptive, kwargs...))
131131
end
@@ -212,7 +212,7 @@ function __construct_nlproblem(cache::MIRKCache{iip}, y::AbstractVector) where {
212212
end
213213

214214
function __mirk_loss!(resid, u, p, y, pt::StandardBVProblem, bc!::BC, residual, mesh,
215-
cache) where {BC}
215+
cache) where {BC}
216216
y_ = recursive_unflatten!(y, u)
217217
resids = [get_tmp(r, u) for r in residual]
218218
eval_bc_residual!(resids[1], pt, bc!, y_, p, mesh)
@@ -222,7 +222,7 @@ function __mirk_loss!(resid, u, p, y, pt::StandardBVProblem, bc!::BC, residual,
222222
end
223223

224224
function __mirk_loss!(resid, u, p, y, pt::TwoPointBVProblem, bc!::Tuple{BC1, BC2}, residual,
225-
mesh, cache) where {BC1, BC2}
225+
mesh, cache) where {BC1, BC2}
226226
y_ = recursive_unflatten!(y, u)
227227
resids = [get_tmp(r, u) for r in residual]
228228
resida = @view resids[1][1:prod(cache.resid_size[1])]
@@ -241,7 +241,7 @@ function __mirk_loss(u, p, y, pt::StandardBVProblem, bc::BC, mesh, cache) where
241241
end
242242

243243
function __mirk_loss(u, p, y, pt::TwoPointBVProblem, bc::Tuple{BC1, BC2}, mesh,
244-
cache) where {BC1, BC2}
244+
cache) where {BC1, BC2}
245245
y_ = recursive_unflatten!(y, u)
246246
resid_bca, resid_bcb = eval_bc_residual(pt, bc, y_, p, mesh)
247247
resid_co = Φ(cache, y_, u, p)
@@ -274,7 +274,7 @@ function __mirk_loss_collocation(u, p, y, mesh, residual, cache)
274274
end
275275

276276
function __construct_nlproblem(cache::MIRKCache{iip}, y, loss_bc::BC, loss_collocation::C,
277-
loss::L, ::StandardBVProblem) where {iip, BC, C, L}
277+
loss::L, ::StandardBVProblem) where {iip, BC, C, L}
278278
@unpack nlsolve, jac_alg = cache.alg
279279
N = length(cache.mesh)
280280

@@ -315,24 +315,24 @@ function __construct_nlproblem(cache::MIRKCache{iip}, y, loss_bc::BC, loss_collo
315315
end
316316

317317
function __mirk_mpoint_jacobian!(J, x, p, bc_diffmode, nonbc_diffmode, bc_diffcache,
318-
nonbc_diffcache, loss_bc::BC, loss_collocation::C, resid_bc, resid_collocation,
319-
M::Int) where {BC, C}
318+
nonbc_diffcache, loss_bc::BC, loss_collocation::C, resid_bc, resid_collocation,
319+
M::Int) where {BC, C}
320320
sparse_jacobian!(@view(J[1:M, :]), bc_diffmode, bc_diffcache, loss_bc, resid_bc, x)
321321
sparse_jacobian!(@view(J[(M + 1):end, :]), nonbc_diffmode, nonbc_diffcache,
322322
loss_collocation, resid_collocation, x)
323323
return nothing
324324
end
325325

326326
function __mirk_mpoint_jacobian(x, p, J, bc_diffmode, nonbc_diffmode, bc_diffcache,
327-
nonbc_diffcache, loss_bc::BC, loss_collocation::C, M::Int) where {BC, C}
327+
nonbc_diffcache, loss_bc::BC, loss_collocation::C, M::Int) where {BC, C}
328328
sparse_jacobian!(@view(J[1:M, :]), bc_diffmode, bc_diffcache, loss_bc, x)
329329
sparse_jacobian!(@view(J[(M + 1):end, :]), nonbc_diffmode, nonbc_diffcache,
330330
loss_collocation, x)
331331
return J
332332
end
333333

334334
function __construct_nlproblem(cache::MIRKCache{iip}, y, loss_bc::BC, loss_collocation::C,
335-
loss::L, ::TwoPointBVProblem) where {iip, BC, C, L}
335+
loss::L, ::TwoPointBVProblem) where {iip, BC, C, L}
336336
@unpack nlsolve, jac_alg = cache.alg
337337
N = length(cache.mesh)
338338

src/solve/multiple_shooting.jl

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
function __solve(prob::BVProblem, _alg::MultipleShooting; odesolve_kwargs = (;),
2-
nlsolve_kwargs = (;), ensemblealg = EnsembleThreads(), verbose = true, kwargs...)
2+
nlsolve_kwargs = (;), ensemblealg = EnsembleThreads(), verbose = true, kwargs...)
33
@unpack f, tspan = prob
44

55
ig, T, N, Nig, u0 = __extract_problem_details(prob; dt = 0.1)
@@ -58,8 +58,8 @@ function __solve(prob::BVProblem, _alg::MultipleShooting; odesolve_kwargs = (;),
5858
end
5959

6060
function __solve_nlproblem!(alg::MultipleShooting, bcresid_prototype, u_at_nodes, nodes,
61-
cur_nshoot, N, resida_len, residb_len, iip::Val, solve_internal_odes!::S, bca::B1,
62-
bcb::B2, prob, u0; kwargs...) where {B1, B2, S}
61+
cur_nshoot, N, resida_len, residb_len, iip::Val, solve_internal_odes!::S, bca::B1,
62+
bcb::B2, prob, u0; kwargs...) where {B1, B2, S}
6363
if __any_sparse_ad(alg.jac_alg)
6464
J_proto = __generate_sparse_jacobian_prototype(alg, prob.problem_type,
6565
bcresid_prototype, u0, N, cur_nshoot)
@@ -94,8 +94,8 @@ function __solve_nlproblem!(alg::MultipleShooting, bcresid_prototype, u_at_nodes
9494
end
9595

9696
function __solve_nlproblem!(alg::MultipleShooting, bcresid_prototype, u_at_nodes, nodes,
97-
cur_nshoot, N, resid_size, iip::Val, solve_internal_odes!::S, bc::BC,
98-
prob, f::F, u0_size, u0; kwargs...) where {BC, F, S}
97+
cur_nshoot, N, resid_size, iip::Val, solve_internal_odes!::S, bc::BC,
98+
prob, f::F, u0_size, u0; kwargs...) where {BC, F, S}
9999
if __any_sparse_ad(alg.jac_alg)
100100
J_proto = __generate_sparse_jacobian_prototype(alg, prob.problem_type,
101101
bcresid_prototype, u0, N, cur_nshoot)
@@ -141,8 +141,8 @@ function __solve_nlproblem!(alg::MultipleShooting, bcresid_prototype, u_at_nodes
141141
end
142142

143143
function __multiple_shooting_solve_internal_odes!(resid_nodes, us, p, ::Val{iip}, f::F,
144-
cur_nshoots::Int, nodes, tspan, u0_size, N, alg::MultipleShooting,
145-
ensemblealg, kwargs) where {iip, F}
144+
cur_nshoots::Int, nodes, tspan, u0_size, N, alg::MultipleShooting,
145+
ensemblealg, kwargs) where {iip, F}
146146
ts_ = Vector{Vector{typeof(first(tspan))}}(undef, cur_nshoots)
147147
us_ = Vector{Vector{typeof(us)}}(undef, cur_nshoots)
148148

@@ -172,13 +172,13 @@ function __multiple_shooting_solve_internal_odes!(resid_nodes, us, p, ::Val{iip}
172172
end
173173

174174
function __multiple_shooting_2point_jacobian!(J, us, p, jac_cache, loss_fn, resid,
175-
alg::MultipleShooting)
175+
alg::MultipleShooting)
176176
sparse_jacobian!(J, alg.jac_alg.diffmode, jac_cache, loss_fn, resid, us)
177177
return nothing
178178
end
179179

180180
function __multiple_shooting_mpoint_jacobian!(J, us, p, resid_bc, resid_nodes,
181-
ode_jac_cache, bc_jac_cache, ode_fn, bc_fn, alg::MultipleShooting, N::Int)
181+
ode_jac_cache, bc_jac_cache, ode_fn, bc_fn, alg::MultipleShooting, N::Int)
182182
J_bc = @view(J[1:N, :])
183183
J_c = @view(J[(N + 1):end, :])
184184

@@ -190,7 +190,8 @@ function __multiple_shooting_mpoint_jacobian!(J, us, p, resid_bc, resid_nodes,
190190
end
191191

192192
@views function __multiple_shooting_2point_loss!(resid, us, p, cur_nshoots::Int, nodes,
193-
::Val{iip}, solve_internal_odes!::S, resida_len, residb_len, N, bca, bcb) where {iip, S}
193+
::Val{iip}, solve_internal_odes!::S, resida_len, residb_len, N, bca,
194+
bcb) where {iip, S}
194195
resid_ = resid[(resida_len + 1):(end - residb_len)]
195196
solve_internal_odes!(resid_, us, p, cur_nshoots, nodes)
196197

@@ -212,8 +213,8 @@ end
212213
end
213214

214215
@views function __multiple_shooting_mpoint_loss_bc!(resid_bc, us, p, cur_nshoots::Int,
215-
nodes, ::Val{iip}, solve_internal_odes!::S, N, f, bc, u0_size, tspan,
216-
ode_alg, u0) where {iip, S}
216+
nodes, ::Val{iip}, solve_internal_odes!::S, N, f, bc, u0_size, tspan,
217+
ode_alg, u0) where {iip, S}
217218
_resid_nodes = similar(us, cur_nshoots * N)
218219

219220
# NOTE: We need to recompute this to correctly propagate the dual numbers / gradients
@@ -232,8 +233,8 @@ end
232233
end
233234

234235
@views function __multiple_shooting_mpoint_loss!(resid, us, p, cur_nshoots::Int, nodes,
235-
::Val{iip}, solve_internal_odes!::S, resid_len, N, f, bc, u0_size, tspan,
236-
ode_alg, u0) where {iip, S}
236+
::Val{iip}, solve_internal_odes!::S, resid_len, N, f, bc, u0_size, tspan,
237+
ode_alg, u0) where {iip, S}
237238
resid_bc = resid[1:resid_len]
238239
resid_nodes = resid[(resid_len + 1):end]
239240

@@ -253,7 +254,7 @@ end
253254

254255
# Problem has initial guess
255256
@views function __multiple_shooting_initialize!(nodes, prob, alg, ::Val{true}, nshoots;
256-
kwargs...)
257+
kwargs...)
257258
@unpack u0, tspan = prob
258259

259260
resize!(nodes, nshoots + 1)
@@ -268,7 +269,7 @@ end
268269

269270
# No initial guess
270271
@views function __multiple_shooting_initialize!(nodes, prob, alg::MultipleShooting,
271-
::Val{false}, nshoots; verbose, kwargs...)
272+
::Val{false}, nshoots; verbose, kwargs...)
272273
@unpack f, u0, tspan, p = prob
273274
@unpack ode_alg = alg
274275

@@ -306,7 +307,7 @@ end
306307

307308
# Grid coarsening
308309
@views function __multiple_shooting_initialize!(nodes, u_at_nodes_prev, prob, alg,
309-
nshoots, old_nshoots, ig; kwargs...)
310+
nshoots, old_nshoots, ig; kwargs...)
310311
@unpack f, u0, tspan, p = prob
311312
prev_nodes = copy(nodes)
312313

0 commit comments

Comments
 (0)