diff --git a/uppsrc/Core/CoAlgo.h b/uppsrc/Core/CoAlgo.h index d81ac0125..d27a5f700 100644 --- a/uppsrc/Core/CoAlgo.h +++ b/uppsrc/Core/CoAlgo.h @@ -26,7 +26,7 @@ void CoPartition(Iter begin, Iter end, const Lambda& lambda, int min_chunk = CO_ template void CoPartition(Range& r, const Lambda& lambda) { - size_t chunk = CoChunk__(r.GetCount()); + size_t chunk = CoChunk__(r.GetCount(), CO_PARTITION_MIN); CoWork co; auto begin = r.begin(); auto end = r.end();