diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/aig/gia/giaDup.c | 1 | ||||
-rw-r--r-- | src/aig/saig/saigGlaCba.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/aig/gia/giaDup.c b/src/aig/gia/giaDup.c index e64ba002..258687fe 100644 --- a/src/aig/gia/giaDup.c +++ b/src/aig/gia/giaDup.c @@ -1685,6 +1685,7 @@ Gia_Man_t * Gia_ManDupAbsGates( Gia_Man_t * p, Vec_Int_t * vGateClasses ) pCopy = Gia_ObjCopy( pTemp, pObj ); if ( !~pCopy->Value ) { + Vec_IntWriteEntry( vGateClasses, i, 0 ); pObj->Value = ~0; continue; } diff --git a/src/aig/saig/saigGlaCba.c b/src/aig/saig/saigGlaCba.c index a2c434c5..d5a94acb 100644 --- a/src/aig/saig/saigGlaCba.c +++ b/src/aig/saig/saigGlaCba.c @@ -280,6 +280,8 @@ Aig_Man_t * Aig_Gla1DeriveAbs( Aig_Gla1Man_t * p ) Aig_ManSetRegNum( pNew, Vec_IntSize(p->vFlops) ); // clean up RetValue = Aig_ManCleanup( pNew ); + if ( RetValue > 0 ) + printf( "Aig_Gla1DeriveAbs(): Internal error! Object count mismatch.\n" ); assert( RetValue == 0 ); return pNew; } |