8000 Fix inputs dimension · python-control/python-control@6c95fbc · GitHub
[go: up one dir, main page]

Skip to content

Commit 6c95fbc

Browse files
committed
Fix inputs dimension
1 parent f2f0e3e commit 6c95fbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

control/modelsimp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ def markov(data, m=None, dt=True, truncate=False):
558558
H = H.transpose(0,2,1) # output, input, time
559559

560560
# Create unit area 54CD impulse inputs
561-
inputs = np.zeros((q,p,m))
561+
inputs = np.zeros((p,p,m))
562562
trace_labels, trace_types = [], []
563563
for i in range(p):
564564
inputs[i,i,0] = 1/dt # unit area impulse

0 commit comments

Comments
 (0)
0