Skip to content

Commit 89e72f8

Browse files
refactor: do not use get_substitutions in get_cmap
1 parent a88ef2e commit 89e72f8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/utils.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -826,9 +826,6 @@ function get_cmap(sys, exprs = nothing)
826826
has_op(sys) && push!(buffer, get_op(sys))
827827
has_constraints(sys) && append!(buffer, get_constraints(sys))
828828
cs = collect_constants(buffer) #ctrls? what else?
829-
if !empty_substitutions(sys)
830-
cs = [cs; collect_constants(get_substitutions(sys).subs)]
831-
end
832829
if exprs !== nothing
833830
cs = [cs; collect_constants(exprs)]
834831
end

0 commit comments

Comments
 (0)