From 7c3593ea5acef05546be8835e25cf5e4b18549ee Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 20 Jun 2018 12:57:59 +0200 Subject: Updates from clangformat Signed-off-by: Clifford Wolf --- common/place_sa.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'common/place_sa.cc') diff --git a/common/place_sa.cc b/common/place_sa.cc index 3162d88c..55ec9b9a 100644 --- a/common/place_sa.cc +++ b/common/place_sa.cc @@ -374,8 +374,9 @@ class SAPlacer delta = new_wirelength - curr_wirelength; n_move++; // SA acceptance criterea - if (delta < 0 || (temp > 1e-6 && (ctx->rng() / float(0x3fffffff)) <= - std::exp(-delta / temp))) { + if (delta < 0 || + (temp > 1e-6 && + (ctx->rng() / float(0x3fffffff)) <= std::exp(-delta / temp))) { n_accept++; if (delta < 0) improved = true; -- cgit v1.2.3