Skip to content

Commit

Permalink
[pre-commit.ci lite] apply automatic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] authored Aug 7, 2024
1 parent ef64ac0 commit 02d453a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion source/module_elecstate/elecstate_print.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::string> titles;
std::vector<double> energies_Ry;
Expand Down
2 changes: 1 addition & 1 deletion source/module_esolver/esolver_ks.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "module_psi/psi.h"

#include <fstream>
#include <string.h>
#include <cstring>
namespace ModuleESolver
{

Expand Down

0 comments on commit 02d453a

Please sign in to comment.