Skip to content

Commit 6956cc5

Browse files
Update src/dpl/src/infrastructure/Grid.cpp
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: PrecisEDAnon <[email protected]>
1 parent 8e9f356 commit 6956cc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dpl/src/infrastructure/Grid.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ void Grid::applyCellContribution(Node* node,
840840
total_area_[pixel_idx] = std::max(total_area_[pixel_idx], 0.0f);
841841
if (total_pins_[pixel_idx] < 0.0f) {
842842
total_pins_[pixel_idx] = 0.0f;
843-
}
843+
total_pins_[pixel_idx] = std::max(total_pins_[pixel_idx], 0.0f);
844844
}
845845
}
846846
}

0 commit comments

Comments
 (0)