Skip to content

Commit

Permalink
Remove extra asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
imreddyTeja committed Dec 19, 2024
1 parent b6b5022 commit 02fe67e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/solvers/multirate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ function init_cache(prob::DiffEqBase.AbstractODEProblem, alg::Multirate; dt, fas
@assert prob.f isa DiffEqBase.SplitFunction

# subproblems
@assert prob.f.f2 isa DiffEqBase.AbstractODEFunction
outerprob = DiffEqBase.ODEProblem{DiffEqBase.isinplace(prob)}(
prob.f.f2,
prob.u0,
Expand All @@ -41,7 +40,6 @@ function init_cache(prob::DiffEqBase.AbstractODEProblem, alg::Multirate; dt, fas
outercache = init_cache(outerprob, alg.slow)

innerfun = init_inner(prob, outercache, dt)
@assert innerfun isa DiffEqBase.AbstractODEFunction
innerprob = DiffEqBase.ODEProblem{DiffEqBase.isinplace(prob)}(
innerfun,
prob.u0,
Expand Down

0 comments on commit 02fe67e

Please sign in to comment.