Skip to content

Commit

Permalink
Merge pull request #179 from devmotion/Wfact_fixes
Browse files Browse the repository at this point in the history
Fix Wfact and Wfact_t
  • Loading branch information
ChrisRackauckas authored Sep 18, 2019
2 parents 440b3b4 + c081f33 commit 20a3bc5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/systems/diffeqs/diffeqsystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,10 @@ function DiffEqBase.ODEFunction{iip}(sys::ODESystem, dvs, ps;
tmp_Wfact,tmp_Wfact_t = generate_factorized_W(sys, dvs, ps, true, Val{false})
Wfact_oop, Wfact_iip = tmp_Wfact
Wfact_oop_t, Wfact_iip_t = tmp_Wfact_t
_Wfact(u,p,t) = Wfact_oop(u,p,t)
_Wfact(W,u,p,t) = Wfact_iip(W,u,p,t)
_Wfact_t(u,p,t) = Wfact_oop_t(u,p,t)
_Wfact_t(W,u,p,t) = Wfact_iip_t(W,u,p,t)
_Wfact(u,p,dtgamma,t) = Wfact_oop(u,p,dtgamma,t)
_Wfact(W,u,p,dtgamma,t) = Wfact_iip(W,u,p,dtgamma,t)
_Wfact_t(u,p,dtgamma,t) = Wfact_oop_t(u,p,dtgamma,t)
_Wfact_t(W,u,p,dtgamma,t) = Wfact_iip_t(W,u,p,dtgamma,t)
else
_Wfact,_Wfact_t = nothing,nothing
end
Expand Down

0 comments on commit 20a3bc5

Please sign in to comment.