From 78904e87aaffbd5b3bbd7eeba7575f0bd06956d5 Mon Sep 17 00:00:00 2001 From: "Joseph C. Slater" Date: Thu, 14 Dec 2017 11:35:48 -0500 Subject: [PATCH] recognize that function name had changed. Function name had changed some time back, but global replace of function name missed this instance. This fixes the help in impulse_response --- control/timeresp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/control/timeresp.py b/control/timeresp.py index d61ccaf4d..4c137c933 100644 --- a/control/timeresp.py +++ b/control/timeresp.py @@ -557,7 +557,7 @@ def impulse_response(sys, T=None, X0=0., input=0, output=None, See Also -------- - ForcedReponse, initial_response, step_response + forced_response, initial_response, step_response Examples -------- @@ -576,7 +576,7 @@ def impulse_response(sys, T=None, X0=0., input=0, output=None, n_states = sys.A.shape[0] X0 = _check_convert_array(X0, [(n_states,), (n_states, 1)], 'Parameter ``X0``: \n', squeeze=True) - + # Compute T and U, no checks necessary, they will be checked in lsim if T is None: T = _default_response_times(sys.A, 100)