Skip to content

Commit

Permalink
jdqr: Pass the interface to orthonormalize().
Browse files Browse the repository at this point in the history
  • Loading branch information
Sbte committed Nov 12, 2023
1 parent c6643b0 commit b3a0c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jadapy/jdqr.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def jdqr(A, num=5, target=Target.SmallestMagnitude, tol=1e-8, lock_tol=None, M=N
A, prec, Q[:, 0:k+nev], Y[:, 0:k+nev], H[0:k+nev, 0:k+nev],
sigma, r[:, 0:nev], solver_tolerance, solver_maxit, interface)

orthonormalize(V[:, 0:m], V[:, m:m+nev], M=M, MV=None if MV is None else MV[:, 0:m])
orthonormalize(V[:, 0:m], V[:, m:m+nev], M=M, MV=None if MV is None else MV[:, 0:m], interface=interface)

AV[:, m:m+nev] = A @ V[:, m:m+nev]
if M is not None:
Expand Down

0 comments on commit b3a0c93

Please sign in to comment.