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.
1 parent e0a226a commit cfe1f6cCopy full SHA for cfe1f6c
pydmd/bopdmd.py
@@ -624,8 +624,8 @@ def compute_B(alpha):
624
q_out, djac_out, j_pvt = qr(
625
djac_matrix, mode="economic", pivoting=True
626
)
627
- ij_pvt = np.arange(IA)
628
- ij_pvt = ij_pvt[j_pvt]
+ ij_pvt = np.zeros(IA).astype(int)
+ ij_pvt[j_pvt] = np.arange(IA).astype(int)
629
rjac[:IA] = np.triu(djac_out[:IA])
630
rhs_top = q_out.conj().T.dot(rhs_temp)
631
scales_pvt = scales[j_pvt[:IA]]
0 commit comments