Skip to content

Commit 5afb286

Browse files
update bvp dispatches
1 parent 4363f3b commit 5afb286

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/scimlfunctions.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4220,15 +4220,15 @@ function BVPFunction{iip, specialize, twopoint}(f, bc;
42204220
error("FunctionWrapperSpecialize must be used on the problem constructor for access to u0, p, and t types!")
42214221
end
42224222

4223-
if jac === nothing && isa(jac_prototype, AbstractDiffEqLinearOperator)
4223+
if jac === nothing && isa(jac_prototype, AbstractSciMLOperator)
42244224
if iip_f
42254225
jac = update_coefficients! #(J,u,p,t)
42264226
else
42274227
jac = (u, p, t) -> update_coefficients!(deepcopy(jac_prototype), u, p, t)
42284228
end
42294229
end
42304230

4231-
if bcjac === nothing && isa(bcjac_prototype, AbstractDiffEqLinearOperator)
4231+
if bcjac === nothing && isa(bcjac_prototype, AbstractSciMLOperator)
42324232
if iip_bc
42334233
bcjac = update_coefficients! #(J,u,p,t)
42344234
else
@@ -4393,15 +4393,15 @@ function DynamicalBVPFunction{iip, specialize, twopoint}(f, bc;
43934393
error("FunctionWrapperSpecialize must be used on the problem constructor for access to u0, p, and t types!")
43944394
end
43954395

4396-
if jac === nothing && isa(jac_prototype, AbstractDiffEqLinearOperator)
4396+
if jac === nothing && isa(jac_prototype, AbstractSciMLOperator)
43974397
if iip_f
43984398
jac = update_coefficients! #(J,u,p,t)
43994399
else
44004400
jac = (u, p, t) -> update_coefficients!(deepcopy(jac_prototype), u, p, t)
44014401
end
44024402
end
44034403

4404-
if bcjac === nothing && isa(bcjac_prototype, AbstractDiffEqLinearOperator)
4404+
if bcjac === nothing && isa(bcjac_prototype, AbstractSciMLOperator)
44054405
if iip_bc
44064406
bcjac = update_coefficients! #(J,u,p,t)
44074407
else

0 commit comments

Comments
 (0)