Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit 3b0047b0 authored by BRAMAS Berenger's avatar BRAMAS Berenger

Update suboctree to remove cells correctly

parent a9e6d5e7
......@@ -137,11 +137,6 @@ protected:
if(arrayIndex == this->leftLeafIndex && arrayIndex == this->rightLeafIndex){
this->rightLeafIndex = -1;
// only one cells, return true
// remove the last cells
cellAllocator.deleteObject(this->cells[indexLevel][arrayIndex]);
this->cells[indexLevel][arrayIndex] =nullptr;
return true;
}
else if(arrayIndex == this->leftLeafIndex){
while( !this->cells[indexLevel][++this->leftLeafIndex] );
......
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