diff --git a/plato/graph/partition/sequence.hpp b/plato/graph/partition/sequence.hpp index b30bd1f9..424720f3 100644 --- a/plato/graph/partition/sequence.hpp +++ b/plato/graph/partition/sequence.hpp @@ -60,7 +60,7 @@ void __init_offset(std::vector* poffset, const DT* degrees, vid_t vertice for (vid_t v_i = poffset->at(p_i); v_i < vertices; ++v_i) { amount += (alpha + degrees[v_i]); if (amount >= expected_amount) { - poffset->at(p_i + 1) = v_i / PAGESIZE * PAGESIZE; + poffset->at(p_i + 1) = v_i; break; } }