Commit c7386304 authored by BRAMAS Berenger's avatar BRAMAS Berenger

oups little bug in the way of finding the chunck size for P2P

parent 38ec2433
......@@ -448,7 +448,7 @@ protected:
for(int idxShape = 0 ; idxShape < SizeShape ; ++idxShape){
const int endAtThisShape = this->shapeLeaf[idxShape] + previous;
const int chunkSize = getChunkSize(endAtThisShape);
const int chunkSize = getChunkSize(endAtThisShape-previous);
#pragma omp for schedule(dynamic, chunkSize)
for(int idxLeafs = previous ; idxLeafs < endAtThisShape ; ++idxLeafs){
LeafData& currentIter = leafsDataArray[idxLeafs];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment