Commit f77af1a4 by Alan Mishchenko

Corner-case sitution in truth-table computation.

parent a321d4cb
......@@ -433,6 +433,8 @@ void Gia_ObjCollectInternalCut( Gia_Man_t * p, int iRoot, Vec_Int_t * vLeaves )
assert( Gia_ObjIsAnd(Gia_ManObj(p, iRoot)) );
Vec_IntForEachEntry( vLeaves, iObj, i )
{
if ( Gia_ObjHasNumId(p, iObj) ) // if cuts have repeated variables, skip
continue;
assert( !Gia_ObjHasNumId(p, iObj) );
Gia_ObjSetNumId( p, iObj, -i );
}
......
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