diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2021-09-26 11:05:48 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2021-09-26 11:05:48 -0700 |
commit | 787dbb9433e2757d087db55217194bad4773c0de (patch) | |
tree | 5b052bd3d6ef6ec486ca227eb940bacae3b8e53c /src/map | |
parent | baf2a6508dde77b466808d83f98bf7e98b7628d6 (diff) | |
download | abc-787dbb9433e2757d087db55217194bad4773c0de.tar.gz abc-787dbb9433e2757d087db55217194bad4773c0de.tar.bz2 abc-787dbb9433e2757d087db55217194bad4773c0de.zip |
Two rare corner-case bugs in &if mapper.
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/if/ifMap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/if/ifMap.c b/src/map/if/ifMap.c index 759ae9be..f234d354 100644 --- a/src/map/if/ifMap.c +++ b/src/map/if/ifMap.c @@ -225,7 +225,7 @@ void If_ObjPerformMappingAnd( If_Man_t * p, If_Obj_t * pObj, int Mode, int fPrep if ( p->pPars->fPower ) pCut->Power = (Mode == 2)? If_CutPowerDerefed( p, pCut, pObj ) : If_CutPowerFlow( p, pCut, pObj ); // save the best cut from the previous iteration - if ( !fPreprocess ) + if ( !fPreprocess || pCut->nLeaves <= 1 ) If_CutCopy( p, pCutSet->ppCuts[pCutSet->nCuts++], pCut ); } |