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.
2 parents 4f51c0f + 2293e94 commit 9c288b9Copy full SHA for 9c288b9
ext/MTKLabelledArraysExt.jl
@@ -1,9 +1,9 @@
1
module MTKLabelledArraysExt
2
3
using ModelingToolkit, LabelledArrays
4
-
+using ModelingToolkit: _defvar, toparam, variable, varnames_length_check
5
function ModelingToolkit.define_vars(u::Union{SLArray, LArray}, t)
6
- [_defvar(x)(t) for x in LabelledArrays.symnames(typeof(u))]
+ [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)
0 commit comments