Skip to content

Commit e9ae4d4

Browse files
committed
fix
1 parent 8f629df commit e9ae4d4

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/SymbolicControlSystems.jl

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -117,20 +117,6 @@ function ControlSystemsBase.tf(sys::StateSpace{TE,<:Sym}) where TE
117117
tf(simplify(n / p), sys.timeevol)
118118
end
119119

120-
function Base.:(*)(A::AbstractMatrix{Bool}, B::AbstractMatrix{<:Sym})
121-
# This is a hack to allow ROC.connect with named systems of Syms
122-
@show A
123-
@show B
124-
try
125-
@show Bb = convert.(Bool, B)
126-
return float.(A) * Bb
127-
catch
128-
@show (1.0 .* B)
129-
return float.(A) * (1.0 .* B)
130-
end
131-
end
132-
133-
134120
function ControlSystemsBase.minreal(sys::StateSpace{<:Any,NumOrDiv})
135121
# sys |> Symb.Num .|> Symb.symbolics_to_sympy .|> sp.simplify
136122
nsys = Num(sys)

0 commit comments

Comments
 (0)