Skip to content

Commit c525e72

Browse files
authored
Merge pull request #81 from PeizeLin/develop
1. fix bug of wfc_dm_2d.init() in Local_Orbital_Charge::allocate_gamma()
2 parents be6c846 + 37cb91c commit c525e72

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

source/src_lcao/DM_gamma.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,7 @@ void Local_Orbital_Charge::allocate_gamma(const Grid_Technique &gt)
267267
setAlltoallvParameter(GlobalC::ParaO.comm_2D, GlobalC::ParaO.blacs_ctxt, GlobalC::ParaO.nb);
268268

269269
// Peize Lin test 2019-01-16
270-
if (GlobalV::KS_SOLVER=="genelpa") //LiuXh add 2021-09-06, clear memory, _2d only used in genelpa solver
271-
{
272-
wfc_dm_2d.init();
273-
}
270+
wfc_dm_2d.init();
274271

275272
if(GlobalC::wf.start_wfc=="file")
276273
{

0 commit comments

Comments
 (0)