File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -11458,7 +11458,7 @@ template <
1145811458 return ;
1145911459 }
1146011460
11461- sizes[i] = dccrg_instance->get_communication_weight (i );
11461+ sizes[i] = dccrg_instance->get_communication_weight (cell );
1146211462 }
1146311463 }
1146411464
@@ -11647,10 +11647,13 @@ template <
1164711647 return ;
1164811648 }
1164911649
11650- for (int i = 0 ; i < dccrg_instance->cell_data .size (); ++i) {
11650+ int i = 0 ;
11651+ for (const auto & item : dccrg_instance->cell_data ) {
11652+ hyperedges[i] = item.first ;
1165111653 if (number_of_weights_per_hyperedge) {
11652- hyperedge_weights[i] = dccrg_instance->get_communication_weight (i );
11654+ hyperedge_weights[i] = dccrg_instance->get_communication_weight (item. first );
1165311655 }
11656+ ++i;
1165411657 }
1165511658 }
1165611659
You can’t perform that action at this time.
0 commit comments