Skip to content

Commit

Permalink
Update src/integrators/integrator_utils.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Feb 15, 2024
1 parent 3fcbd2a commit 7d218f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/integrators/integrator_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -486,8 +486,8 @@ function reset_fsal!(integrator)
# Mass matrix DAEs do need to reset FSAL if available
if !(integrator.sol.prob isa DAEProblem) && (integrator.cache isa OrdinaryDiffEqMutableCache ||
(integrator.cache isa CompositeCache &&
integrator.cache.caches[1] isa OrdinaryDiffEqMutableCache)
integrator.f(integrator.fsalfirst, integrator.u, integrator.p, integrator.t))
integrator.cache.caches[1] isa OrdinaryDiffEqMutableCache))
integrator.f(integrator.fsalfirst, integrator.u, integrator.p, integrator.t)
else
integrator.fsalfirst = integrator.f(integrator.u, integrator.p, integrator.t)
end
Expand Down

0 comments on commit 7d218f3

Please sign in to comment.