Bug fix in how seq cleanup handles cand equiv classes.

This commit is contained in:
Alan Mishchenko 2011-07-25 19:29:57 +07:00
parent 9e307901c7
commit c4dd8067fd
1 changed files with 3 additions and 1 deletions

View File

@ -558,7 +558,9 @@ Gia_Man_t * Gia_ManDupMarked( Gia_Man_t * p )
pRepr = Gia_ObjReprObj( p, i );
if ( pRepr == NULL )
continue;
assert( ~pRepr->Value );
// assert( ~pRepr->Value );
if ( !~pRepr->Value )
continue;
if ( Gia_Lit2Var(pObj->Value) != Gia_Lit2Var(pRepr->Value) )
Gia_ObjSetRepr( pNew, Gia_Lit2Var(pObj->Value), Gia_Lit2Var(pRepr->Value) );
}