Skip to content

Commit 681b778

Browse files
committed
fix build bug
1 parent e4a4e87 commit 681b778

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/module_hsolver/test/hsolver_pw_sup.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,9 @@ template <typename T, typename Device>
153153
int DiagoDavid<T, Device>::diag(const std::function<void(T*, T*, const int, const int)>& hpsi_func,
154154
const std::function<void(T*, T*, const int, const int)>& spsi_func,
155155
const int ld_psi,
156-
T *psi_in,
156+
T* psi_in,
157157
Real* eigenvalue_in,
158-
const Real david_diag_thr,
158+
const std::vector<double>& ethr_band,
159159
const int david_maxiter,
160160
const int ntry_max,
161161
const int notconv_max) {

0 commit comments

Comments
 (0)