Commit 7ba6f704 authored by COULAUD Olivier's avatar COULAUD Olivier
parents b91611f7 c7386304
......@@ -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