diff --git a/lib/atc/FE_Mesh.cpp b/lib/atc/FE_Mesh.cpp index 0ff4b0b3b5..4ea10a681a 100644 --- a/lib/atc/FE_Mesh.cpp +++ b/lib/atc/FE_Mesh.cpp @@ -2121,7 +2121,7 @@ namespace ATC { vector > 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.