Skip to content

Commit 6466ae9

Browse files
committed
rsz: clang-format RepairSetup.cc
Wrap long sta::Slack initialization line that clang-format flagged on PR #10248 after the gemini-code-assist suggestion was applied via the GitHub UI. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
1 parent 8e5b2f2 commit 6466ae9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/rsz/src/RepairSetup.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,8 @@ bool RepairSetup::terminateProgress(const int iteration,
10411041
// Window is full; compare oldest sample (the one we are about to
10421042
// overwrite on the next call) to the best (largest, i.e. least
10431043
// negative) slack observed in the window.
1044-
sta::Slack window_best = *std::max_element(wns_history_.begin(), wns_history_.end());
1044+
sta::Slack window_best
1045+
= *std::max_element(wns_history_.begin(), wns_history_.end());
10451046
const sta::Slack window_oldest = wns_history_[wns_history_head_];
10461047
const float threshold
10471048
= std::max(wns_stagnation_abs_tol_,

0 commit comments

Comments
 (0)