Skip to content

Commit 11af9c6

Browse files
fix variable definition
1 parent 0a17f11 commit 11af9c6

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
@@ -129,7 +129,7 @@ function define_params(p::AbstractArray)
129129
end
130130

131131
function define_params(p::Number)
132-
[]
132+
[toparam(variable())]
133133
end
134134

135135
function define_params(p::AbstractDict)

0 commit comments

Comments
 (0)