Skip to content

Commit 268f39f

Browse files
committed
change ucell in module_io/read_wfc_to_rho.cpp
1 parent cecacc8 commit 268f39f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/module_io/read_wfc_to_rho.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ void ModuleIO::read_wfc_to_rho(const ModulePW::PW_Basis_K* pw_wfc,
134134
Symmetry_rho srho;
135135
for (int is = 0; is < nspin; is++)
136136
{
137-
srho.begin(is, chg, chg.rhopw, GlobalC::ucell.symm);
137+
srho.begin(is, chg, chg.rhopw, symm);
138138
}
139139

140140
ModuleBase::timer::tick("ModuleIO", "read_wfc_pw_to_rho");

0 commit comments

Comments
 (0)