File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1452,10 +1452,8 @@ void NesterovBaseCommon::updateDbGCells()
14521452 if (db_cbk_) {
14531453 db_cbk_->removeOwner ();
14541454 }
1455- assert (omp_get_thread_num () == 0 );
1456- #pragma omp parallel for num_threads(num_threads_)
1457- for (auto it = getGCells ().begin (); it < getGCells ().end (); ++it) {
1458- auto & gCell = *it; // old-style loop for old OpenMP
1455+
1456+ for (auto & gCell : getGCells ()) {
14591457 if (gCell ->isInstance ()) {
14601458 for (Instance* inst : gCell ->insts ()) {
14611459 odb::dbInst* db_inst = inst->dbInst ();
@@ -1468,6 +1466,7 @@ void NesterovBaseCommon::updateDbGCells()
14681466 }
14691467 }
14701468 }
1469+
14711470 if (db_cbk_) {
14721471 db_cbk_->addOwner (pbc_->db ()->getChip ()->getBlock ());
14731472 }
You can’t perform that action at this time.
0 commit comments