mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Core: Fixed issue with CoPartition
git-svn-id: svn://ultimatepp.org/upp/trunk@11627 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
962c9e2ca9
commit
fda6eec585
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ void CoPartition(Iter begin, Iter end, const Lambda& lambda, int min_chunk = CO_
|
|||
template <class Range, class Lambda>
|
||||
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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue