Fixes crash when there are no edges for a given net in the ratsnest.

This commit is contained in:
Maciej Suminski 2014-01-26 22:01:42 +01:00
parent fe97521bda
commit e537480f1e
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ void RN_NET::compute()
return;
}
else if( boardNodes.size() == 1 ) // This case is even simpler
else if( boardNodes.size() <= 1 ) // This case is even simpler
{
m_rnEdges.reset( new std::vector<RN_EDGE_PTR>( 0 ) );