diff --git a/source/source_estate/elecstate_print.cpp b/source/source_estate/elecstate_print.cpp index 6e7ebf238e..0cc2d16da6 100644 --- a/source/source_estate/elecstate_print.cpp +++ b/source/source_estate/elecstate_print.cpp @@ -146,7 +146,7 @@ void print_scf_iterinfo(const std::string& ks_solver, { buf += FmtCore::format(td_fmt[i].c_str(), values[i]); } - std::cout << buf; + std::cout << buf << std::fflush; }