@@ -76,7 +76,7 @@ void Get_pchg_lcao::begin(Gint_Gamma& gg,
7676 Gint_inout inout (rho, Gint_Tools::job_type::rho, nspin);
7777 gg.cal_gint (&inout);
7878#else
79- ModuleGint::cal_gint_rho (DM.get_DMR_vector (), PARAM. inp . nspin , rho);
79+ ModuleGint::cal_gint_rho (DM.get_DMR_vector (), nspin, rho);
8080#endif
8181
8282 // A solution to replace the original implementation of the following code:
@@ -175,7 +175,7 @@ void Get_pchg_lcao::begin(Gint_k& gk,
175175 Gint_inout inout (rho, Gint_Tools::job_type::rho, nspin);
176176 gk.cal_gint (&inout);
177177#else
178- ModuleGint::cal_gint_rho (DM.get_DMR_vector (), PARAM. inp . nspin , rho);
178+ ModuleGint::cal_gint_rho (DM.get_DMR_vector (), nspin, rho);
179179#endif
180180
181181
@@ -222,7 +222,7 @@ void Get_pchg_lcao::begin(Gint_k& gk,
222222 Gint_inout inout (rho, Gint_Tools::job_type::rho, nspin);
223223 gk.cal_gint (&inout);
224224#else
225- ModuleGint::cal_gint_rho (DM.get_DMR_vector (), PARAM. inp . nspin , rho);
225+ ModuleGint::cal_gint_rho (DM.get_DMR_vector (), nspin, rho);
226226#endif
227227 // Using std::vector to replace the original double** rho_save
228228 std::vector<std::vector<double >> rho_save (nspin, std::vector<double >(rhopw_nrxx));
0 commit comments