diff --git a/source/module_elecstate/elecstate_print.cpp b/source/module_elecstate/elecstate_print.cpp index 64ba77eebc..c8968c6225 100644 --- a/source/module_elecstate/elecstate_print.cpp +++ b/source/module_elecstate/elecstate_print.cpp @@ -307,8 +307,9 @@ void ElecState::print_etot(const bool converged, GlobalV::ofs_running << "\n Density error is " << scf_thr << std::endl; - if (GlobalV::BASIS_TYPE == "pw") + if (GlobalV::BASIS_TYPE == "pw") { ModuleBase::GlobalFunc::OUT(GlobalV::ofs_running, "Error Threshold", pw_diag_thr); // xiaohui add 2013-09-02 +} std::vector titles; std::vector energies_Ry; diff --git a/source/module_esolver/esolver_ks.h b/source/module_esolver/esolver_ks.h index 1ce77b4812..f772cdf8c5 100644 --- a/source/module_esolver/esolver_ks.h +++ b/source/module_esolver/esolver_ks.h @@ -11,7 +11,7 @@ #include "module_psi/psi.h" #include -#include +#include namespace ModuleESolver {