diff options
-rw-r--r-- | src/proof/dch/dchChoice.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/proof/dch/dchChoice.c b/src/proof/dch/dchChoice.c index e2473de6..b5ccb765 100644 --- a/src/proof/dch/dchChoice.c +++ b/src/proof/dch/dchChoice.c @@ -456,7 +456,14 @@ void Dch_DeriveChoiceAigNode( Aig_Man_t * pAigNew, Aig_Man_t * pAigOld, Aig_Obj_ pObjNew = Aig_And( pAigNew, Aig_ObjChild0CopyRepr(pAigNew, pObj), Aig_ObjChild1CopyRepr(pAigNew, pObj) ); - pObjNew = Aig_ObjGetRepr( pAigNew, pObjNew ); +// pObjNew = Aig_ObjGetRepr( pAigNew, pObjNew ); + while ( 1 ) + { + Aig_Obj_t * pObjNew2 = pObjNew; + pObjNew = Aig_ObjGetRepr( pAigNew, pObjNew2 ); + if ( pObjNew == pObjNew2 ) + break; + } // assert( Aig_ObjRepr( pAigNew, pObjNew ) == NULL ); // assign the copy assert( pObj->pData == NULL ); |