Skip to content

Commit

Permalink
drt: try to fix clang-format warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Liberty <[email protected]>
  • Loading branch information
maliberty committed Jan 27, 2025
1 parent 89fcbb2 commit 47bd947
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/drt/src/dr/FlexDR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1434,8 +1434,7 @@ void FlexDR::end(bool done)
<< (double) ((sCut[i] + mCut[i])
? mCut[i] * 100.0 / (sCut[i] + mCut[i])
: 0.0)
<< "%)"
<< " "
<< "%) "
<< std::setw((int) std::to_string(totSCut + totMCut).length())
<< sCut[i] + mCut[i];
}
Expand All @@ -1446,7 +1445,7 @@ void FlexDR::end(bool done)
msg << "-";
}
msg << std::endl;
msg << " " << std::setw(nameLen) << ""
msg << " " << std::setw(nameLen)
<< " " << std::setw((int) std::to_string(totSCut).length())
<< totSCut;
if (totMCut) {
Expand All @@ -1460,8 +1459,7 @@ void FlexDR::end(bool done)
<< (double) ((totSCut + totMCut)
? totMCut * 100.0 / (totSCut + totMCut)
: 0.0)
<< "%)"
<< " "
<< "%) "
<< std::setw((int) std::to_string(totSCut + totMCut).length())
<< totSCut + totMCut;
}
Expand Down

0 comments on commit 47bd947

Please sign in to comment.