diff --git a/control/statesp.py b/control/statesp.py index b86219030..03349b0ac 100644 --- a/control/statesp.py +++ b/control/statesp.py @@ -1225,7 +1225,7 @@ def dcgain(self, warn_infinite=False): Returns ------- - gain : (outputs, inputs) ndarray or scalar + gain : (noutputs, ninputs) ndarray or scalar Array or scalar value for SISO systems, depending on config.defaults['control.squeeze_frequency_response']. The value of the array elements or the scalar is either the diff --git a/control/timeresp.py b/control/timeresp.py index 630eff03a..eafe10992 100644 --- a/control/timeresp.py +++ b/control/timeresp.py @@ -937,7 +937,7 @@ def step_info(sysdata, T=None, T_num=None, yfinal=None, peak_time = T[peak_index] # SteadyStateValue - steady_state_value = InfValue.real + steady_state_value = InfValue retij = { 'RiseTime': rise_time, diff --git a/control/xferfcn.py b/control/xferfcn.py index 3e48c7f24..99603b253 100644 --- a/control/xferfcn.py +++ b/control/xferfcn.py @@ -1070,7 +1070,7 @@ def dcgain(self, warn_infinite=False): Returns ------- - gain : (outputs, inputs) ndarray or scalar + gain : (noutputs, ninputs) ndarray or scalar Array or scalar value for SISO systems, depending on config.defaults['control.squeeze_frequency_response']. The value of the array elements or the scalar is either the @@ -1080,7 +1080,6 @@ def dcgain(self, warn_infinite=False): For real valued systems, the empty imaginary part of the complex zero-frequency response is discarded and a real array or scalar is returned. - """ return self._dcgain(warn_infinite)