Skip to content

Commit 6c1334f

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 0a2d6d9 commit 6c1334f

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
@@ -335,7 +335,7 @@ bool DetailedGlobalSwap::generate(Node* ndi)
335335
DbuX xj{(int) std::floor(0.5 * (bbox.xMin() + bbox.xMax())
336336
- 0.5 * ndi->getWidth().v)};
337337
DbuY yj{(int) std::floor(0.5 * (bbox.yMin() + bbox.yMax())
338-
- 0.5 * ndi->getHeight().v)};
338+
- (0.5 * ndi->getHeight().v))};
339339

340340
// Row and segment for the destination.
341341
int rj = arch_->find_closest_row(yj);

0 commit comments

Comments
 (0)