Skip to content

Commit 1251a68

Browse files
fixup! Add missing labels when returning TimeResponseData
1 parent 7daed4b commit 1251a68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

control/timeresp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1716,7 +1716,7 @@ def initial_response(sys, T=None, X0=0., input=0, output=None, T_num=None,
17161716

17171717
# Select only the given output, if any
17181718
output_labels = sys.output_labels if output is None \
1719-
else [sys.output_labels[output]]
1719+
else [sys.output_labels[0]]
17201720

17211721
# Store the response without an input
17221722
return TimeResponseData(

0 commit comments

Comments
 (0)