diff --git a/atrip.org b/atrip.org index 57b3be1..a69fa03 100644 --- a/atrip.org +++ b/atrip.org @@ -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) diff --git a/src/atrip/Atrip.cxx b/src/atrip/Atrip.cxx index 83cfacb..06c4079 100644 --- a/src/atrip/Atrip.cxx +++ b/src/atrip/Atrip.cxx @@ -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)