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 52f922a commit 8adb998Copy full SHA for 8adb998
pydmd/bopdmd.py
@@ -1368,7 +1368,8 @@ def _initialize_alpha(self):
1368
# Define the matrices Y and Z as the following and compute the
1369
# rank-truncated SVD of Y.
1370
Y = (ux1 + ux2) / 2
1371
- Z = (ux2 - ux1) / (self._time[1:] - self._time[:-1]) # Element-wise division by time differences. w/o large T
+ # Element-wise division by time differences. w/o large T
1372
+ Z = (ux2 - ux1) / (self._time[1:] - self._time[:-1])
1373
U, s, V = compute_svd(Y, self._svd_rank)
1374
S = np.diag(s)
1375
0 commit comments