Skip to content

Commit 2ba27ab

Browse files
committed
fix build bug
1 parent c6e1aae commit 2ba27ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/module_hsolver/test/diago_david_real_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class DiagoDavPrepare
112112
auto hpsi_func = [phm](double* psi_in,double* hpsi_out,
113113
const int ld_psi, const int nvec)
114114
{
115-
auto psi_iter_wrapper = psi::Psi<double>(psi_in, 1, nvec, ld_psi, nullptr);
115+
auto psi_iter_wrapper = psi::Psi<double>(psi_in, 1, nvec, ld_psi);
116116
psi::Range bands_range(true, 0, 0, nvec-1);
117117
using hpsi_info = typename hamilt::Operator<double>::hpsi_info;
118118
hpsi_info info(&psi_iter_wrapper, bands_range, hpsi_out);

0 commit comments

Comments
 (0)