Skip to content

Commit 9c4b891

Browse files
Update src/dpl/src/optimization/detailed_global_legacy.cxx
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: PrecisEDAnon <[email protected]>
1 parent 6d4dffa commit 9c4b891

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dpl/src/optimization/detailed_global_legacy.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ bool DetailedGlobalSwap::calculateEdgeBB(Edge* ed, Node* nd, odb::Rect& bbox)
281281
bool DetailedGlobalSwap::generate(Node* ndi)
282282
{
283283
double yi = ndi->getBottom().v + 0.5 * ndi->getHeight().v;
284-
double xi = ndi->getLeft().v + 0.5 * ndi->getWidth().v;
284+
double xi = ndi->getLeft().v + (0.5 * ndi->getWidth().v);
285285

286286
// Determine optimal region.
287287
odb::Rect bbox;

0 commit comments

Comments
 (0)