Commit 08b8f6da by schurade

[FIX] crash with box-cluster selection when no cluster was in the box

parent 8c7123e3
......@@ -220,6 +220,11 @@ std::vector< size_t > WHierarchicalTree::findXBiggestClusters( size_t cluster, s
void WHierarchicalTree::sortList( std::list<size_t> &input ) //NOLINT
{
if ( input.size() == 0 )
{
return;
}
std::vector<size_t>vec;
std::list<size_t>::iterator it;
......
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