Skip to content

Commit ebfdadc

Browse files
committed
compatible with exx_iter_finish
1 parent 9a820d2 commit ebfdadc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/module_ri/Exx_LRI_interface.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,14 @@ void Exx_LRI_Interface<T, Tdata>::exx_iter_finish(const K_Vectors& kv, const Uni
199199
{
200200
chgmix.close_kerker_gg0();
201201
}
202+
this->dm_last_step = dynamic_cast<const elecstate::ElecStateLCAO<T>*>(&elec)->get_DM();
202203
conv_esolver = this->exx_after_converge(
203204
hamilt,
204205
*dynamic_cast<const elecstate::ElecStateLCAO<T>*>(&elec)->get_DM(),
205206
kv,
206207
PARAM.inp.nspin,
207208
iter,
209+
istep,
208210
elec.f_en.etot,
209211
scf_ene_thr);
210212
}

0 commit comments

Comments
 (0)