We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f758725 + 8aa271d commit 61ef12bCopy full SHA for 61ef12b
control/iosys.py
@@ -1779,6 +1779,9 @@ def input_output_response(
1779
else:
1780
noutputs = sys.noutputs
1781
1782
+ # Update the parameter values
1783
+ sys._update_params(params)
1784
+
1785
#
1786
# Define a function to evaluate the input at an arbitrary time
1787
@@ -1816,9 +1819,6 @@ def ufun(t):
1816
1819
output_labels=sys.output_index, input_labels=sys.input_index,
1817
1820
transpose=transpose, return_x=return_x, squeeze=squeeze)
1818
1821
- # Update the parameter values
- sys._update_params(params)
-
1822
# Create a lambda function for the right hand side
1823
def ivp_rhs(t, x):
1824
return sys._rhs(t, x, ufun(t))
0 commit comments