From e4d86723227dc3694bf502dfd492e8c2b1887c2c Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Wed, 19 Oct 2022 17:27:59 +0200 Subject: Ran clang-format. --- free_energy.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'free_energy.cpp') diff --git a/free_energy.cpp b/free_energy.cpp index 148423f..5cfaae1 100644 --- a/free_energy.cpp +++ b/free_energy.cpp @@ -1,5 +1,5 @@ -#include #include +#include #include "aztec.hpp" @@ -36,7 +36,7 @@ int main(int argc, char* argv[]) { Rng r; AztecDiamond a(n); - a.setWeights(r); + a.setWeights(r); for (Real T = T0; T <= T1; T += ΔT) { Real avgFreeEnergy = 0; @@ -46,7 +46,8 @@ int main(int argc, char* argv[]) { avgFreeEnergy += a.computeProbabilities(); } - std::cout << std::setprecision(20) << T << " " << - T * avgFreeEnergy / m / a.vertices.size() << std::endl; + std::cout << std::setprecision(20) << T << " " << -T * avgFreeEnergy / m / a.vertices.size() + << std::endl; } return 0; -- cgit v1.2.3-70-g09d2