Skip to content

Commit 567eee6

Browse files
committed
test 3
1 parent 5394a1c commit 567eee6

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

source/module_psi/psi_init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ PSIInit<T, Device>::PSIInit(const std::string& init_wfc_in,
3232
}
3333
else
3434
{
35-
if (PARAM.inp.init_wfc == "file" || PARAM.inp.init_wfc == "atomic" || PARAM.inp.device == "gpu"
35+
if (PARAM.inp.init_wfc == "file" || PARAM.inp.init_wfc == "random" || PARAM.inp.device == "gpu"
3636
|| PARAM.inp.esolver_type == "sdft")
3737
{
3838
this->init_psi_method = "old"; // old method;

tests/integrate/133_PW_DJ_PK/INPUT

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ scf_nmax 20
1212
basis_type pw
1313
relax_nmax 1
1414

15-
#init_wfc random
16-
1715
ks_solver cg
1816
mixing_type broyden
1917
mixing_beta 0.7

0 commit comments

Comments
 (0)