mirror of
https://github.com/YosysHQ/abc.git
synced 2026-09-03 08:25:20 +02:00
Graph isomorphism checking code.
This commit is contained in:
@@ -926,6 +926,8 @@ static inline Vec_Int_t * Vec_IntInvert( Vec_Int_t * p, int Fill )
|
||||
{
|
||||
int Entry, i;
|
||||
Vec_Int_t * vRes = Vec_IntAlloc( 0 );
|
||||
if ( Vec_IntSize(p) == 0 )
|
||||
return vRes;
|
||||
Vec_IntFill( vRes, Vec_IntFindMax(p) + 1, Fill );
|
||||
Vec_IntForEachEntry( p, Entry, i )
|
||||
if ( Entry != Fill )
|
||||
|
||||
Reference in New Issue
Block a user