Skip to content

Commit 740dc2f

Browse files
fix remake specialization
1 parent fc5125a commit 740dc2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/remake.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function remake(prob::ODEProblem; f=missing,
4747
f = wrapfun_oop(unwrap_fw(f),(u0,p,tspan[1]))
4848
end
4949
f = convert(ODEFunction{isinplace(prob)},f)
50-
else
50+
elseif prob.f isa ODEFunction # avoid the SplitFunction etc. cases
5151
f = convert(ODEFunction{isinplace(prob)},f)
5252
end
5353

0 commit comments

Comments
 (0)