summaryrefslogtreecommitdiffstats
path: root/src/aig/gia/giaFx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/aig/gia/giaFx.c')
-rw-r--r--src/aig/gia/giaFx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/aig/gia/giaFx.c b/src/aig/gia/giaFx.c
index 73a8cf5c..4fff177c 100644
--- a/src/aig/gia/giaFx.c
+++ b/src/aig/gia/giaFx.c
@@ -282,7 +282,7 @@ Vec_Int_t * Gia_ManFxTopoOrder( Vec_Wec_t * vCubes, int nInputs, int nStart, Vec
// quit if there is no new nodes
if ( nNodeMax == nStart )
{
- printf( "The network is unchanged by fast extract.\n" );
+ //printf( "The network is unchanged by fast extract.\n" );
return NULL;
}
// find first cube and how many cubes
@@ -459,6 +459,8 @@ Gia_Man_t * Gia_ManPerformFx( Gia_Man_t * p, int nNewNodesMax, int LitCountMax,
Gia_Man_t * pNew = NULL;
Vec_Wec_t * vCubes;
Vec_Str_t * vCompl;
+ if ( Gia_ManAndNum(p) == 0 )
+ return Gia_ManDup(p);
// abctime clk;
assert( Gia_ManHasMapping(p) );
// collect information