File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ void Run_MD_PW::md_force_virial(
215215 {
216216#endif
217217#endif
218- p_esolver->Run (istep- 1 ,GlobalC::ucell);
218+ p_esolver->Run (istep,GlobalC::ucell);
219219 eiter = p_esolver->getniter ();
220220#ifdef __LCAO
221221#ifdef __MPI
@@ -230,7 +230,7 @@ void Run_MD_PW::md_force_virial(
230230 {
231231 for (size_t hybrid_step = 0 ; hybrid_step != GlobalC::exx_global.info .hybrid_step ; ++hybrid_step)
232232 {
233- p_esolver->Run (istep- 1 ,GlobalC::ucell);
233+ p_esolver->Run (istep,GlobalC::ucell);
234234 eiter += p_esolver->getniter ();
235235 if (elec.iter == 1 || hybrid_step == GlobalC::exx_global.info .hybrid_step - 1 ) // exx converge
236236 break ;
@@ -240,10 +240,10 @@ void Run_MD_PW::md_force_virial(
240240 }
241241 else
242242 {
243- p_esolver->Run (istep- 1 ,GlobalC::ucell);
243+ p_esolver->Run (istep,GlobalC::ucell);
244244 eiter += p_esolver->getniter ();
245245 XC_Functional::set_xc_type (GlobalC::ucell.atoms [0 ].xc_func );
246- p_esolver->Run (istep- 1 ,GlobalC::ucell);
246+ p_esolver->Run (istep,GlobalC::ucell);
247247 eiter += p_esolver->getniter ();
248248 }
249249 }
You can’t perform that action at this time.
0 commit comments