Print the correct energy, with sign
This commit is contained in:
parent
2f1d3db6d8
commit
bba062bcc9
@ -2398,7 +2398,7 @@ Atrip::Output Atrip::run(Atrip::Input const& in) {
|
||||
WITH_RANK << "local energy " << energy << "\n";
|
||||
LOG(0, "Atrip") << "Energy: "
|
||||
<< std::setprecision(15) << std::setw(23)
|
||||
<< globalEnergy << std::endl;
|
||||
<< (- globalEnergy) << std::endl;
|
||||
|
||||
// PRINT TIMINGS {{{1
|
||||
if (in.chrono)
|
||||
|
||||
@ -522,7 +522,7 @@ Atrip::Output Atrip::run(Atrip::Input const& in) {
|
||||
WITH_RANK << "local energy " << energy << "\n";
|
||||
LOG(0, "Atrip") << "Energy: "
|
||||
<< std::setprecision(15) << std::setw(23)
|
||||
<< globalEnergy << std::endl;
|
||||
<< (- globalEnergy) << std::endl;
|
||||
|
||||
// PRINT TIMINGS {{{1
|
||||
if (in.chrono)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user