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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy