diff --git a/atrip.org b/atrip.org index 43ec364..e1c24fc 100644 --- a/atrip.org +++ b/atrip.org @@ -2407,7 +2407,8 @@ Atrip::Output Atrip::run(Atrip::Input const& in) { LOG(0, "atrip:flops") << nIterations * doublesFlops / chrono["doubles"].count() << "\n"; - return { energy }; + // TODO: change the sign in the getEnergy routines + return { - globalEnergy }; } #+end_src diff --git a/src/atrip/Atrip.cxx b/src/atrip/Atrip.cxx index 85fe35e..905a513 100644 --- a/src/atrip/Atrip.cxx +++ b/src/atrip/Atrip.cxx @@ -533,7 +533,8 @@ Atrip::Output Atrip::run(Atrip::Input const& in) { LOG(0, "atrip:flops") << nIterations * doublesFlops / chrono["doubles"].count() << "\n"; - return { energy }; + // TODO: change the sign in the getEnergy routines + return { - globalEnergy }; } // Main:1 ends here