Commit 8313a967 authored by BRAMAS Berenger's avatar BRAMAS Berenger

Correct the bug found in the task plus dep version

parent 42486201
......@@ -326,8 +326,9 @@ protected:
subCellGroups[nbSubCellGroups] = (*iterChildCells);
nbSubCellGroups += 1;
while((*iterChildCells)->getEndingIndex() <= ((currentCells->getEndingIndex()<<3)+7)
&& (++iterChildCells) != endChildCells
&& (*iterChildCells)->getStartingIndex() <= (currentCells->getEndingIndex()<<3)+7 ){
&& (iterChildCells+1) != endChildCells
&& (*(iterChildCells+1))->getStartingIndex() <= (currentCells->getEndingIndex()<<3)+7 ){
(++iterChildCells);
subCellGroups[nbSubCellGroups] = (*iterChildCells);
nbSubCellGroups += 1;
FAssertLF( nbSubCellGroups <= 9 );
......@@ -505,8 +506,9 @@ protected:
subCellGroups[nbSubCellGroups] = (*iterChildCells);
nbSubCellGroups += 1;
while((*iterChildCells)->getEndingIndex() <= ((currentCells->getEndingIndex()<<3)+7)
&& (++iterChildCells) != endChildCells
&& (*iterChildCells)->getStartingIndex() <= (currentCells->getEndingIndex()<<3)+7 ){
&& (iterChildCells+1) != endChildCells
&& (*(iterChildCells+1))->getStartingIndex() <= (currentCells->getEndingIndex()<<3)+7 ){
(++iterChildCells);
subCellGroups[nbSubCellGroups] = (*iterChildCells);
nbSubCellGroups += 1;
FAssertLF( nbSubCellGroups <= 9 );
......
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