Skip to content

Commit

Permalink
Fix: the bug of garbled output
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhuxuegang2022 committed Jan 9, 2024
1 parent e711372 commit 0ff1911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/module_elecstate/elecstate_print.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ void ElecState::print_etot(const bool converged,
// std::cout << std::setiosflags(ios::showpos);
if (scientific)
{
std::cout << std::setiosflags(std::ios::scientific);
std::cout << std::scientific;
}

if (GlobalV::COLOUR)
Expand Down

0 comments on commit 0ff1911

Please sign in to comment.