Skip to content

Commit d67800c

Browse files
committed
Fix the print condition of out_mat_hs for tddft
1 parent 09fa28b commit d67800c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/module_esolver/esolver_ks_lcao.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ void ESolver_KS_LCAO<TK, TR>::after_scf(UnitCell& ucell, const int istep)
959959
#endif
960960

961961
// 6) write Hamiltonian and Overlap matrix
962-
if (!PARAM.globalv.gamma_only_local && (PARAM.inp.out_mat_hs[0] || PARAM.inp.deepks_v_delta || PARAM.inp.esolver_type == 'tddft'))
962+
if (!PARAM.globalv.gamma_only_local && (PARAM.inp.out_mat_hs[0] || PARAM.inp.deepks_v_delta))
963963
{
964964
this->GK.renew(true);
965965
}

0 commit comments

Comments
 (0)