Skip to content

Commit

Permalink
<Fix> Fix the hexadecimal output in MD with OFDFT (#3896)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunliang98 committed Apr 2, 2024
1 parent fc9a0de commit cb69fb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/module_esolver/esolver_of_tool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ void ESolver_OF::print_info()
// if (this->pdEdphi_[0][i] < minPot) minPot = this->pdEdphi_[0][i];
// if (this->pdEdphi_[0][i] > maxPot) maxPot = this->pdEdphi_[0][i];
// }
std::cout << std::setw(6) << this->iter_ << std::setw(22) << std::setiosflags(std::ios::scientific)
std::cout << std::setw(6) << this->iter_ << std::setw(22) << std::scientific
<< std::setprecision(12) << this->energy_current_ / 2. << std::setw(12) << std::setprecision(3)
<< this->mu_[0] / 2. << std::setw(12) << this->theta_[0] << std::setw(12) << this->normdLdphi_
<< std::setw(12) << (this->energy_current_ - this->energy_last_) / 2. << std::endl;
Expand Down

0 comments on commit cb69fb3

Please sign in to comment.