Skip to content

Commit a5c9440

Browse files
some clean up
1 parent 40073b6 commit a5c9440

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/systems/abstractsystem.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ function GlobalScope(sym::Union{Num, Symbolic})
425425
end
426426
end
427427

428-
renamespace(sys, eq::Equation) = @show namespace_equation(eq, sys)
428+
renamespace(sys, eq::Equation) = namespace_equation(eq, sys)
429429

430430
renamespace(names::AbstractVector, x) = foldr(renamespace, names, init = x)
431431
function renamespace(sys, x)
@@ -434,7 +434,7 @@ function renamespace(sys, x)
434434
if x isa Symbolic
435435
T = typeof(x)
436436
if istree(x) && operation(x) isa Operator
437-
return similarterm(x, renamespace.(sys,operation(x)),
437+
return similarterm(x, operation(x),
438438
Any[renamespace(sys, only(arguments(x)))])::T
439439
end
440440
let scope = getmetadata(x, SymScope, LocalScope())

0 commit comments

Comments
 (0)