Skip to content

Commit

Permalink
Merge bc8a5ac into 9f5e96e
Browse files Browse the repository at this point in the history
  • Loading branch information
fandreuz committed May 18, 2021
2 parents 9f5e96e + bc8a5ac commit 86f46d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydmd/dmdoperator.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def compute_operator(self, X, Y):

if self._forward_backward:
# b stands for "backward"
bU, bs, bV = self._compute_svd(Y, svd_rank=self._svd_rank)
bU, bs, bV = self._compute_svd(Y, svd_rank=len(s))
atilde_back = self._least_square_operator(bU, bs, bV, X)
atilde = sqrtm(atilde.dot(np.linalg.inv(atilde_back)))

Expand Down

0 comments on commit 86f46d7

Please sign in to comment.