@@ -73,7 +73,7 @@ void Veff<OperatorPW<T, Device>>::act(
7373 }
7474 }else if (npol == 2 )
7575 {
76- const Real* current_veff[4 ]=nullptr ;
76+ const Real* current_veff[4 ]={ nullptr } ;
7777 for (int is = 0 ; is < 4 ; is++)
7878 {
7979 current_veff[is] = this ->veff + is * this ->veff_col ;
@@ -82,7 +82,6 @@ void Veff<OperatorPW<T, Device>>::act(
8282 {
8383 wfcpw->recip_to_real <T, Device>(tmpsi_in, this ->porter , this ->ik );
8484 wfcpw->recip_to_real <T, Device>(tmpsi_in + max_npw, this ->porter1 , this ->ik );
85-
8685 veff_op ()(this ->ctx , this ->veff_col , this ->porter , this ->porter1 , current_veff);
8786 wfcpw->real_to_recip <T, Device>(this ->porter , tmhpsi, this ->ik , true );
8887 wfcpw->real_to_recip <T, Device>(this ->porter1 , tmhpsi + max_npw, this ->ik , true );
@@ -109,7 +108,7 @@ void Veff<OperatorPW<T, Device>>::act(
109108 }
110109 else if (npol == 2 )
111110 {
112- const Real* current_veff[4 ]=nullptr ;
111+ const Real* current_veff[4 ]={ nullptr } ;
113112 for (int is = 0 ; is < 4 ; is++)
114113 {
115114 current_veff[is] = this ->veff + is * this ->veff_col ;
0 commit comments