Fix false assert when CONNECTIVITY_DEBUG is enabled
This commit is contained in:
parent
54bfeb742c
commit
7b9f186464
|
@ -930,7 +930,8 @@ void CONNECTION_GRAPH::buildConnectionGraph()
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
#ifdef CONNECTIVITY_DEBUG
|
#ifdef CONNECTIVITY_DEBUG
|
||||||
wxASSERT_MSG( false, "More than one net code for a neighbor!" );
|
if( c != candidate_net_code )
|
||||||
|
wxASSERT_MSG( false, "More than one net code for a neighbor!" );
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue