@@ -560,7 +560,7 @@ def linearize(self, x0, u0, t=0, params={}, eps=1e-6,
560
560
561
561
# Create the state space system
562
562
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 ),
564
564
name = name , ** kwargs )
565
565
566
566
# Set the names the system, inputs, outputs, and states
@@ -660,7 +660,7 @@ def __init__(self, linsys, inputs=None, outputs=None, states=None,
660
660
states = linsys .nstates , params = {}, dt = linsys .dt , name = name )
661
661
662
662
# Initalize additional state space variables
663
- StateSpace .__init__ (self , linsys , remove_useless = False )
663
+ StateSpace .__init__ (self , linsys , remove_useless_states = False )
664
664
665
665
# Process input, output, state lists, if given
666
666
# Make sure they match the size of the linear system
@@ -1551,7 +1551,7 @@ def __init__(self, io_sys, ss_sys=None):
1551
1551
io_sys .nstates != ss_sys .nstates :
1552
1552
raise ValueError ("System dimensions for first and second "
1553
1553
"arguments must match." )
1554
- StateSpace .__init__ (self , ss_sys , remove_useless = False )
1554
+ StateSpace .__init__ (self , ss_sys , remove_useless_states = False )
1555
1555
1556
1556
else :
1557
1557
raise TypeError ("Second argument must be a state space system." )
0 commit comments