Skip to content

Commit 3656968

Browse files
committed
remove_useless -> remove_useless_states in iosys
1 parent 8b6bfd1 commit 3656968

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

control/iosys.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ def linearize(self, x0, u0, t=0, params={}, eps=1e-6,
560560

561561
# Create the state space system
562562
linsys = LinearIOSystem(
563-
StateSpace(A, B, C, D, self.dt, remove_useless=False),
563+
StateSpace(A, B, C, D, self.dt, remove_useless_states=False),
564564
name=name, **kwargs)
565565

566566
# Set the names the system, inputs, outputs, and states
@@ -660,7 +660,7 @@ def __init__(self, linsys, inputs=None, outputs=None, states=None,
660660
states=linsys.nstates, params={}, dt=linsys.dt, name=name)
661661

662662
# Initalize additional state space variables
663-
StateSpace.__init__(self, linsys, remove_useless=False)
663+
StateSpace.__init__(self, linsys, remove_useless_states=False)
664664

665665
# Process input, output, state lists, if given
666666
# Make sure they match the size of the linear system
@@ -1551,7 +1551,7 @@ def __init__(self, io_sys, ss_sys=None):
15511551
io_sys.nstates != ss_sys.nstates:
15521552
raise ValueError("System dimensions for first and second "
15531553
"arguments must match.")
1554-
StateSpace.__init__(self, ss_sys, remove_useless=False)
1554+
StateSpace.__init__(self, ss_sys, remove_useless_states=False)
15551555

15561556
else:
15571557
raise TypeError("Second argument must be a state space system.")

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