Skip to content

Commit 9c288b9

Browse files
Merge pull request #2987 from SciML/ChrisRackauckas-patch-6
Update MTKLabelledArraysExt.jl
2 parents 4f51c0f + 2293e94 commit 9c288b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/MTKLabelledArraysExt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
module MTKLabelledArraysExt
22

33
using ModelingToolkit, LabelledArrays
4-
4+
using ModelingToolkit: _defvar, toparam, variable, varnames_length_check
55
function ModelingToolkit.define_vars(u::Union{SLArray, LArray}, t)
6-
[_defvar(x)(t) for x in LabelledArrays.symnames(typeof(u))]
6+
[ModelingToolkit._defvar(x)(t) for x in LabelledArrays.symnames(typeof(u))]
77
end
88

99
function ModelingToolkit.define_params(p::Union{SLArray, LArray}, names = nothing)

0 commit comments

Comments
 (0)