summaryrefslogtreecommitdiffstats
path: root/src/aig
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2015-03-16 19:38:43 +0700
committerAlan Mishchenko <alanmi@berkeley.edu>2015-03-16 19:38:43 +0700
commit7fe11c51cfb050dafef1cf875dc4eb4e65352465 (patch)
treeb27983a74456b0cac4561c537cb46e1f868763a0 /src/aig
parent1e757a85670b295384e16fa9ce534ffceca6be71 (diff)
downloadabc-7fe11c51cfb050dafef1cf875dc4eb4e65352465.tar.gz
abc-7fe11c51cfb050dafef1cf875dc4eb4e65352465.tar.bz2
abc-7fe11c51cfb050dafef1cf875dc4eb4e65352465.zip
Several bug fixes and silencing requests.
Diffstat (limited to 'src/aig')
-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