Removed verbosity in CMake. Fixed overflow

This commit is contained in:
Guilhem Lavaux 2011-02-24 13:34:44 -06:00
parent 2b5f1e283d
commit d0b59d167f

View file

@ -190,8 +190,8 @@ public:
inserted++;
}
assert(inserted < totalNumNodes);
rootNode = &nodes[inserted+1];
assert(inserted <= totalNumNodes);
rootNode = &nodes[inserted];
rootNode->vid = -1;
rootNode->parent = 0;