Skip to content

Commit e4bcec0

Browse files
committed
fixed botched pathc from github
1 parent d4525a1 commit e4bcec0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

control/xferfcn.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1288,8 +1288,7 @@ def _isstatic(self):
12881288
# c2d function contributed by Benjamin White, Oct 2012
12891289
def _c2d_matched(sysC, Ts, **kwargs):
12901290
if not sysC.issiso():
1291-
raise ControlMIMONotImplemented("Not implemented for MIMO systems")
1292-
raise ValueError("MIMO transfer functions not supported")
1291+
raise ControlMIMONotImplemented("Not implemented for MIMO systems")
12931292

12941293
# Pole-zero match method of continuous to discrete time conversion
12951294
szeros, spoles, _ = tf2zpk(sysC.num[0][0], sysC.den[0][0])

0 commit comments

Comments
 (0)