Skip to content

Commit

Permalink
hotfix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
dallan-keylogic committed Feb 11, 2025
1 parent 105e518 commit 892b5cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions idaes/core/util/linalg.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,11 @@ def H_inv_func(B):
)

if m < n:
U_tilde, svals, VT = svd(B.T @ A)
U_tilde, svals, VT = svd(B.T @ A, full_matrices=False)
U = B @ U_tilde
V = VT.T
else:
U, svals, VT_tilde = svd(A @ B)
U, svals, VT_tilde = svd(A @ B, full_matrices=False)
V = B @ VT_tilde.T

if svals[0] < small_sv_tol:
Expand Down

0 comments on commit 892b5cf

Please sign in to comment.