Skip to content

Commit

Permalink
Fix: the bug of garbled output (deepmodeling#3458)
Browse files Browse the repository at this point in the history
Co-authored-by: Zhao Tianqi <[email protected]>
  • Loading branch information
Zhuxuegang2022 and hongriTianqi authored Jan 10, 2024
1 parent db4fd5a commit 52622d5
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 52622d5

Please sign in to comment.