8000 fix deprecated functionality of copy keyword in iosys.linearize · python-control/python-control@16d9e6a · GitHub
[go: up one dir, main page]

Skip to content

Commit 16d9e6a

Browse files
committed
fix deprecated functionality of copy keyword in iosys.linearize
1 parent dbf64f2 commit 16d9e6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

control/iosys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ def linearize(self, x0, u0, t=0, params=None, eps=1e-6,
568568
StateSpace(A, B, C, D, self.dt, remove_useless_states=False))
569569

570570
# Set the system name, inputs, outputs, and states
571-
if copy in kwargs:
571+
if 'copy' in kwargs:
572572
copy_names = kwargs.pop('copy')
573573
warn("keyword 'copy' is deprecated. please use 'copy_names'",
574574
DeprecationWarning)

0 commit comments

Comments
 (0)
0