We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a0c804 commit b61364dCopy full SHA for b61364d
include/osp/bsp/scheduler/CoarsenRefineSchedulers/MultiLevelHillClimbing.hpp
@@ -185,7 +185,8 @@ void MultiLevelHillClimbingScheduler<Graph_t>::setLinearRefinementPoints(vertex_
185
for (vertex_idx nextN = target_nr_of_nodes + stepSize; nextN < OriginalNrOfNodes; nextN += stepSize)
186
refinement_points.push_back(nextN);
187
188
- refinement_points.pop_back();
+ if (!refinement_points.empty())
189
+ refinement_points.pop_back();
190
refinement_points.push_back(OriginalNrOfNodes);
191
}
192
0 commit comments