Commit c4dd8067 by Alan Mishchenko

Bug fix in how seq cleanup handles cand equiv classes.

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