diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2008-04-13 20:01:00 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2008-04-13 20:01:00 -0700 |
commit | 45827110d61cb2a7013e1251b32428bca70ceeeb (patch) | |
tree | ffd40b01d29995b87e86201aa6d32578b4441b6b /src/aig | |
parent | 2dc38429884b93a04ef917cf75602437b421adf1 (diff) | |
download | abc-45827110d61cb2a7013e1251b32428bca70ceeeb.tar.gz abc-45827110d61cb2a7013e1251b32428bca70ceeeb.tar.bz2 abc-45827110d61cb2a7013e1251b32428bca70ceeeb.zip |
Version abc80413_2
Diffstat (limited to 'src/aig')
-rw-r--r-- | src/aig/ntl/ntlFraig.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/aig/ntl/ntlFraig.c b/src/aig/ntl/ntlFraig.c index 117f3275..63725558 100644 --- a/src/aig/ntl/ntlFraig.c +++ b/src/aig/ntl/ntlFraig.c @@ -236,6 +236,9 @@ Ntl_Man_t * Ntl_ManFraig( Ntl_Man_t * p, int nPartSize, int nConfLimit, int nLev Ntl_Man_t * pNew, * pAux; Aig_Man_t * pAig, * pAigCol, * pTemp; + if ( Ntl_ModelNodeNum(Ntl_ManRootModel(p)) == 0 ) + return Ntl_ManDup(p); + // collapse the AIG pAig = Ntl_ManExtract( p ); pNew = Ntl_ManInsertAig( p, pAig ); |