Skip to content

Commit 53b79e7

Browse files
authored
Merge pull request #9087 from gudeh/gpl-fix-bug
gpl: fix bug related to snapshot saving
2 parents 9c92944 + 38095e0 commit 53b79e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gpl/src/nesterovPlace.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ bool NesterovPlace::isDiverged(float& diverge_snapshot_WlCoefX,
580580
}
581581

582582
if (!npVars_.disableRevertIfDiverge && num_region_diverged_ == 0
583-
&& !is_routability_need_) {
583+
&& (!npVars_.routability_driven_mode || !is_routability_need_)) {
584584
if (is_min_hpwl_) {
585585
diverge_snapshot_WlCoefX = wireLengthCoefX_;
586586
diverge_snapshot_WlCoefY = wireLengthCoefY_;

0 commit comments

Comments
 (0)