Skip to content

Commit 2049cd9

Browse files
committed
Update spsi_func in hsolver_lrtd
1 parent ffdebd8 commit 2049cd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/module_lr/hsolver_lrtd.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ namespace LR
9595
pHamilt->ops->hPsi(info);
9696
};
9797
auto spsi_func = [pHamilt](const T* psi_in, T* spsi_out,
98-
const int nrow, const int npw, const int nbands){
98+
const int ld_psi, const int nbands){
9999
// sPsi determines S=I or not by GlobalV::use_uspp inside
100-
pHamilt->sPsi(psi_in, spsi_out, nrow, npw, nbands);
100+
pHamilt->sPsi(psi_in, spsi_out, ld_psi, ld_psi, nbands);
101101
};
102102

103103
const int& dim = psi_k1_dav.get_nbasis(); //equals to leading dimension here

0 commit comments

Comments
 (0)