From 02d453ac5dc7109bba0b0479b743e55c1abbc0ca Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Wed, 7 Aug 2024 05:24:30 +0000 Subject: [PATCH] [pre-commit.ci lite] apply automatic fixes --- source/module_elecstate/elecstate_print.cpp | 3 ++- source/module_esolver/esolver_ks.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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 {