Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixed botched pathc from github
  • Loading branch information
murrayrm committed Dec 26, 2023
commit e4bcec01cda450ab12a44b456c8351d8af1d83ce
3 changes: 1 addition & 2 deletions control/xferfcn.py
Original file line number Diff line number Diff line change
Expand Up @@ -1288,8 +1288,7 @@ def _isstatic(self):
# c2d function contributed by Benjamin White, Oct 2012
def _c2d_matched(sysC, Ts, **kwargs):
if not sysC.issiso():
raise ControlMIMONotImplemented("Not implemented for MIMO systems")
raise ValueError("MIMO transfer functions not supported")
raise ControlMIMONotImplemented("Not implemented for MIMO systems")

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