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.
nothing
namespace_expr
1 parent 2ecbdb2 commit 18cc951Copy full SHA for 18cc951
src/systems/abstractsystem.jl
@@ -1169,7 +1169,9 @@ function is_array_of_symbolics(x)
1169
end
1170
1171
function namespace_expr(
1172
- O, sys, n = nameof(sys); ivs = independent_variables(sys))
+ O, sys, n = (sys === nothing ? nothing : nameof(sys));
1173
+ ivs = sys === nothing ? nothing : independent_variables(sys))
1174
+ sys === nothing && return O
1175
O = unwrap(O)
1176
# Exceptions for arrays of symbolic and Ref of a symbolic, the latter
1177
# of which shows up in broadcasts
0 commit comments