diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-11-01 22:03:37 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-11-01 22:03:37 -0700 |
commit | a20e32f9e3b470c923f903d7cb2ac6ed8c5e76d8 (patch) | |
tree | 109c0e76ee5f10e9c49d5570adc229f4db1f53c5 /src/map/if/ifMap.c | |
parent | f23a17e0c607b979c3e8a41b4f8522c9a44197cd (diff) | |
download | abc-a20e32f9e3b470c923f903d7cb2ac6ed8c5e76d8.tar.gz abc-a20e32f9e3b470c923f903d7cb2ac6ed8c5e76d8.tar.bz2 abc-a20e32f9e3b470c923f903d7cb2ac6ed8c5e76d8.zip |
Improvements to LMS code.
Diffstat (limited to 'src/map/if/ifMap.c')
-rw-r--r-- | src/map/if/ifMap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/if/ifMap.c b/src/map/if/ifMap.c index 1f7ba898..d4d0d1dd 100644 --- a/src/map/if/ifMap.c +++ b/src/map/if/ifMap.c @@ -344,6 +344,8 @@ void If_ObjPerformMappingChoice( If_Man_t * p, If_Obj_t * pObj, int Mode, int fP If_ObjForEachCut( pTemp, pCutTemp, i ) { assert( p->pPars->fSeqMap || pCutTemp->nLeaves > 1 ); + if ( pCutTemp->fUseless ) + continue; // get the next free cut assert( pCutSet->nCuts <= pCutSet->nCutsMax ); pCut = pCutSet->ppCuts[pCutSet->nCuts]; |