Skip to content

Commit 4c197ca

Browse files
committed
add not implemented test/fix for continuous MPC
1 parent cb6d9d7 commit 4c197ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

control/optimal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ def create_mpc_iosystem(self):
776776
"""Create an I/O system implementing an MPC controller"""
777777
# Check to make sure we are in discrete time
778778
if self.system.dt == 0:
779-
raise ControlNotImplemented(
779+
raise ct.ControlNotImplemented(
780780
"MPC for continuous time systems not implemented")
781781

782782
def _update(t, x, u, params={}):

0 commit comments

Comments
 (0)