Skip to content

Commit 57f8605

Browse files
Update to general namespace separator
This is the one place where it's used? Thoguh, does this code need to exist? It seems like it's a separate implementation of SII that is a bit buggy, @TorkelE might be best to just replace with SII?
1 parent 8f8290c commit 57f8605

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reactionsystem_conversions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ function _symbol_to_var(sys, sym)
798798
if hasproperty(sys, sym)
799799
var = getproperty(sys, sym, namespace = false)
800800
else
801-
strs = split(String(sym), "") # need to check if this should be split of not!!!
801+
strs = split(String(sym), ModelingToolkit.NAMESPACE_SEPARATOR) # need to check if this should be split of not!!!
802802
if length(strs) > 1
803803
var = getproperty(sys, Symbol(strs[1]), namespace = false)
804804
for str in view(strs, 2:length(strs))

0 commit comments

Comments
 (0)