From ce6494272a32b4b8e3a278c1d2e5b4978c921b7d Mon Sep 17 00:00:00 2001 From: bramas <berenger.bramas@inria.fr> Date: Mon, 15 Sep 2014 19:23:26 +0200 Subject: [PATCH] debug groupe tree --- Src/GroupTree/FGroupSeqAlgorithm.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/GroupTree/FGroupSeqAlgorithm.hpp b/Src/GroupTree/FGroupSeqAlgorithm.hpp index 826bb708f..abea120fb 100644 --- a/Src/GroupTree/FGroupSeqAlgorithm.hpp +++ b/Src/GroupTree/FGroupSeqAlgorithm.hpp @@ -105,7 +105,7 @@ protected: CellClass* child[8] = {nullptr,nullptr,nullptr,nullptr,nullptr,nullptr,nullptr,nullptr}; for(int idxChild = 0 ; idxChild < 8 ; ++idxChild){ - while(iterChildCells != endChildCells && (*iterChildCells)->getEndingIndex() < ((mindex<<3)+idxChild) ){ + while(iterChildCells != endChildCells && (*iterChildCells)->getEndingIndex() <= ((mindex<<3)+idxChild) ){ ++iterChildCells; } if( iterChildCells == endChildCells ){ @@ -245,7 +245,7 @@ protected: CellClass* child[8] = {nullptr,nullptr,nullptr,nullptr,nullptr,nullptr,nullptr,nullptr}; for(int idxChild = 0 ; idxChild < 8 ; ++idxChild){ - while(iterChildCells != endChildCells && (*iterChildCells)->getEndingIndex() < ((mindex<<3)+idxChild) ){ + while(iterChildCells != endChildCells && (*iterChildCells)->getEndingIndex() <= ((mindex<<3)+idxChild) ){ ++iterChildCells; } if( iterChildCells == endChildCells ){ -- GitLab