Skip to content

Commit

Permalink
Merge pull request #162 from JuliaDiffEq/myb/Wfact
Browse files Browse the repository at this point in the history
Fix `Wfact_f_t_safe`
  • Loading branch information
ChrisRackauckas authored Jul 31, 2019
2 parents 9811e5a + 3df5abf commit a6d94ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ModelingToolkit"
uuid = "961ee093-0014-501f-94e3-6117800e7a78"
authors = ["Chris Rackauckas <[email protected]>"]
version = "0.6.1"
version = "0.6.2"

[deps]
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
Expand Down
4 changes: 2 additions & 2 deletions src/systems/diffeqs/diffeqsystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ function DiffEqBase.ODEFunction{iip}(sys::ODESystem, dvs, ps,
_Wfact,_Wfact_t = eval.(generate_factorized_W(sys, dvs, ps))
Wfact_f_safe(u,p,gam,t) = ModelingToolkit.fast_invokelatest(_Wfact,Matrix{eltype(u)},u,p,gam,t)
Wfact_f_safe(J,u,p,gam,t) = ModelingToolkit.fast_invokelatest(_Wfact,Nothing,J,u,p,gam,t)
Wfact_f_t_safe(u,p,gam,t) = ModelingToolkit.fast_invokelatest(_Wfact,Matrix{eltype(u)},u,p,gam,t)
Wfact_f_t_safe(J,u,p,gam,t) = ModelingToolkit.fast_invokelatest(_Wfact,Nothing,J,u,p,gam,t)
Wfact_f_t_safe(u,p,gam,t) = ModelingToolkit.fast_invokelatest(_Wfact_t,Matrix{eltype(u)},u,p,gam,t)
Wfact_f_t_safe(J,u,p,gam,t) = ModelingToolkit.fast_invokelatest(_Wfact_t,Nothing,J,u,p,gam,t)
Wfact_f(u,p,gam,t) = _Wfact(u,p,gam,t)
Wfact_f(J,u,p,gam,t) = _Wfact(J,u,p,gam,t)
Wfact_f_t(u,p,gam,t) = _Wfact_t(u,p,gam,t)
Expand Down

0 comments on commit a6d94ad

Please sign in to comment.