Skip to content

Commit c70a377

Browse files
committed
Use raise NotImplentedError, not NotImplemented in InputOutputSystem._rhs
1 parent 2dc409b commit c70a377

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

control/iosys.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,8 @@ def _rhs(self, t, x, u):
366366
you may want to use :meth:`dynamics`.
367367
368368
"""
369-
NotImplemented("Evaluation not implemented for system of type ",
370-
type(self))
369+
raise NotImplementedError("Evaluation not implemented for system of type ",
370+
type(self))
371371

372372
def dynamics(self, t, x, u, params=None):
373373
"""Compute the dynamics of a differential or difference equation.

0 commit comments

Comments
 (0)