We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19ed9f1 commit 780fcb9Copy full SHA for 780fcb9
1 file changed
include/osp/bsp/scheduler/GreedySchedulers/GrowLocalMaxBsp.hpp
@@ -71,7 +71,7 @@ inline typename std::deque<VertexIdxT<GraphT>>::difference_type GrowLocalSSP<Gra
71
typename std::deque<VertexType>::difference_type lengthNext
72
= std::distance(nextSuperstepReady.cbegin(), nextSuperstepReady.cend());
73
74
- typename std::deque<VertexType>::difference_type ans = ((lengthCurrently + lengthNext + 2) / 3) * 2;
+ typename std::deque<VertexType>::difference_type ans = ((lengthCurrently + lengthNext + 1) / 2);
75
76
return ans;
77
}
0 commit comments