Skip to content

Commit e69f88e

Browse files
Merge pull request #839 from SciML/ChrisRackauckas-patch-3
Fix ParameterizedFunctions.jl support with latest modelingtoolkitize …
2 parents ebd34d7 + 241fa6e commit e69f88e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/diffeqs/modelingtoolkitize.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Generate `ODESystem`, dependent variables, and parameters from an `ODEProblem`.
55
"""
66
function modelingtoolkitize(prob::DiffEqBase.ODEProblem)
77
prob.f isa DiffEqBase.AbstractParameterizedFunction &&
8-
return (prob.f.sys, prob.f.sys.states, prob.f.sys.ps)
8+
return prob.f.sys
99
@parameters t
1010

1111
if prob.p isa Tuple || prob.p isa NamedTuple

0 commit comments

Comments
 (0)