Skip to content

Commit b20f73d

Browse files
committed
gpl: just stop instead of placing on the center when an Eigen error occurs
Signed-off-by: Augusto Berndt <[email protected]>
1 parent 74e4c7a commit b20f73d

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/gpl/src/initialPlace.cpp

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,11 @@ void InitialPlace::doBicgstabPlace(int threads)
8484
}
8585

8686
if (std::isnan(error.x) || std::isnan(error.y)) {
87-
log_->warn(
88-
GPL,
89-
154,
90-
"Conjugate gradient initial placement solver failed at iteration {}. "
91-
"Positioning all movable instances at core center.",
92-
iter);
93-
placeInstsCenter();
87+
log_->warn(GPL,
88+
154,
89+
"Conjugate gradient initial placement solver failed at "
90+
"iteration {}. ",
91+
iter);
9492
break;
9593
}
9694

0 commit comments

Comments
 (0)