Skip to content

Commit c7d6667

Browse files
committed
Consistent variable creation
1 parent 3fbbdb0 commit c7d6667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/model_parsing.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ function generate_var!(dict, a, b, varclass;
219219
vd isa Vector && (vd = first(vd))
220220
vd[a] = Dict{Symbol, Any}()
221221
var = if indices === nothing
222-
Symbolics.variable(a, T = SymbolicUtils.FnType{Tuple{Real}, Real})(iv)
222+
Symbolics.variable(a, T = SymbolicUtils.FnType{Tuple{Any}, Real})(iv)
223223
else
224224
vd[a][:size] = Tuple(lastindex.(indices))
225225
first(@variables $a(iv)[indices...])

0 commit comments

Comments
 (0)