Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/source_esolver/esolver_ks_pw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ void ESolver_KS_PW<T, Device>::after_scf(UnitCell& ucell, const int istep, const
// Calculate kinetic energy density tau for ELF if needed
if (PARAM.inp.out_elf[0] > 0)
{
this->pelec->cal_tau(*(this->stp.psi_cpu));
static_cast<elecstate::ElecStatePW<T, Device>*>(this->pelec)->cal_tau(*this->stp.template get_psi_t<T, Device>());
}

ESolver_KS::after_scf(ucell, istep, conv_esolver);
Expand Down
Loading