diff --git a/control/iosys.py b/control/iosys.py index 1bd9bcb9a..19f527c22 100644 --- a/control/iosys.py +++ b/control/iosys.py @@ -1779,6 +1779,9 @@ def input_output_response( else: noutputs = sys.noutputs + # Update the parameter values + sys._update_params(params) + # # Define a function to evaluate the input at an arbitrary time # @@ -1816,9 +1819,6 @@ def ufun(t): output_labels=sys.output_index, input_labels=sys.input_index, transpose=transpose, return_x=return_x, squeeze=squeeze) - # Update the parameter values - sys._update_params(params) - # Create a lambda function for the right hand side def ivp_rhs(t, x): return sys._rhs(t, x, ufun(t)) 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