put back overly eager deleted code that is used without -DNDEBUG

This commit is contained in:
Axel Kohlmeyer
2019-10-21 03:25:21 -04:00
parent b4b071ee60
commit e7cb2f4cac

View File

@ -2121,7 +2121,7 @@ namespace ATC {
vector<vector<int> > procEltLists = tree_->getElemIDs(depth);
// Make sure the KD tree is behaving as expected.
assert(numEltLists >= nProcs);
assert(procEltLists.size() >= nProcs);
// If the KD-tree was not able to return enough divisions,
// duplicate the largest list.