Skip to content

Commit c57b824

Browse files
committed
fix init
1 parent 88a3034 commit c57b824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/module_psi/psi_init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ void PSIInit<T, Device>::initialize_psi(Psi<std::complex<double>>* psi,
265265
{
266266
for (int ik = 0; ik < this->pw_wfc->nks; ++ik)
267267
{
268-
if(ik > 0) continue;
268+
if(PARAM.inp.use_k_continuity && ik > 0) continue;
269269
//! Update Hamiltonian from other kpoint to the given one
270270
p_hamilt->updateHk(ik);
271271

0 commit comments

Comments
 (0)