Skip to content

Commit 516e7cc

Browse files
TorkelEisaacsas
andcommitted
Update src/networkapi.jl
Co-authored-by: Sam Isaacson <[email protected]>
1 parent cd3a3aa commit 516e7cc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/networkapi.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -504,9 +504,6 @@ end
504504

505505
# convert symbol of the form :sys.a.b.c to a symbolic a.b.c
506506
function _symbol_to_var(sys, sym)
507-
if sym isa Num
508-
return sym
509-
elseif hasproperty(sys, sym)
510507
var = getproperty(sys, sym, namespace = false)
511508
else
512509
strs = split(String(sym), "") # need to check if this should be split of not!!!

0 commit comments

Comments
 (0)