We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
define_params
LabelledArraysExt
1 parent f5e76e8 commit a08a268Copy full SHA for a08a268
ext/MTKLabelledArraysExt.jl
@@ -6,7 +6,7 @@ function ModelingToolkit.define_vars(u::Union{SLArray, LArray}, t)
6
[ModelingToolkit._defvar(x)(t) for x in LabelledArrays.symnames(typeof(u))]
7
end
8
9
-function ModelingToolkit.define_params(p::Union{SLArray, LArray}, names = nothing)
+function ModelingToolkit.define_params(p::Union{SLArray, LArray}, t, names = nothing)
10
if names === nothing
11
[toparam(variable(x)) for x in LabelledArrays.symnames(typeof(p))]
12
else
0 commit comments