Skip to content

Commit

Permalink
the lindep parameter is used in the function real_eig
Browse files Browse the repository at this point in the history
  • Loading branch information
puzhichen committed Feb 11, 2025
1 parent c156379 commit 08731c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gpu4pyscf/tdscf/_lr_eig.py
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ def real_eig(aop, x0, precond, tol_residual=1e-5, nroots=1, x0sym=None, pick=Non
Y_new = XY_new[:,A_size:].T
if x0sym is None:
V, W = VW_Gram_Schmidt_fill_holder(
V_holder[:,:m1], W_holder[:,:m1], X_new, Y_new)
V_holder[:,:m1], W_holder[:,:m1], X_new, Y_new, lindep)
else:
xt_ir = xt_ir[r_index]
xt_orth_ir = []
Expand All @@ -731,7 +731,7 @@ def real_eig(aop, x0, precond, tol_residual=1e-5, nroots=1, x0sym=None, pick=Non
for ir in set(xt_ir):
idx = cp.nonzero(xt_ir == ir)[0]
_V, _W = VW_Gram_Schmidt_fill_holder(
V_holder[:,:m1], W_holder[:,:m1], X_new[:,idx], Y_new[:,idx])
V_holder[:,:m1], W_holder[:,:m1], X_new[:,idx], Y_new[:,idx], lindep)
V.append(_V)
W.append(_W)
xt_orth_ir.append([ir] * len(_V))
Expand Down

0 comments on commit 08731c7

Please sign in to comment.