Skip to content

Commit 9e22193

Browse files
fix: check symbolic_type in namespace_expr
1 parent 8bde22e commit 9e22193

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/systems/abstractsystem.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1252,6 +1252,7 @@ end
12521252
function namespace_expr(
12531253
O, sys, n = nameof(sys); ivs = independent_variables(sys))
12541254
O = unwrap(O)
1255+
symbolic_type(O) == NotSymbolic() && return O
12551256
if any(isequal(O), ivs)
12561257
return O
12571258
elseif iscall(O)

0 commit comments

Comments
 (0)