Commit 91b54281 by Alan Mishchenko

Corner case bug fix in reducing equivalences.

parent afdaebe1
...@@ -610,7 +610,8 @@ Gia_Man_t * Gia_ManEquivReduce( Gia_Man_t * p, int fUseAll, int fDualOut, int fS ...@@ -610,7 +610,8 @@ Gia_Man_t * Gia_ManEquivReduce( Gia_Man_t * p, int fUseAll, int fDualOut, int fS
if ( i == Gia_ManObjNum(p) ) if ( i == Gia_ManObjNum(p) )
{ {
// Abc_Print( 1, "Gia_ManEquivReduce(): There are no equivalences to reduce.\n" ); // Abc_Print( 1, "Gia_ManEquivReduce(): There are no equivalences to reduce.\n" );
return NULL; // return NULL;
return Gia_ManDup( p );
} }
/* /*
if ( !Gia_ManCheckTopoOrder( p ) ) if ( !Gia_ManCheckTopoOrder( p ) )
......
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