From e6f64162b1279925759001a6e2c08d0d9e4e1c34 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Mon, 18 Feb 2019 18:25:08 -0800 Subject: Passing names in &scorr. --- src/proof/cec/cecCorr.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/proof/cec/cecCorr.c b/src/proof/cec/cecCorr.c index eb5cd1aa..8f708910 100644 --- a/src/proof/cec/cecCorr.c +++ b/src/proof/cec/cecCorr.c @@ -1219,9 +1219,21 @@ Gia_Man_t * Cec_ManLSCorrespondence( Gia_Man_t * pAig, Cec_ParCor_t * pPars ) } // copy names if present if ( pAig->vNamesIn ) + { + char * pName; int i; pNew->vNamesIn = Vec_PtrDupStr( pAig->vNamesIn ); + Vec_PtrForEachEntryStart( char *, pNew->vNamesIn, pName, i, Gia_ManCiNum(pNew) ) + ABC_FREE( pName ); + Vec_PtrShrink( pNew->vNamesIn, Gia_ManCiNum(pNew) ); + } if ( pAig->vNamesOut ) + { + char * pName; int i; pNew->vNamesOut = Vec_PtrDupStr( pAig->vNamesOut ); + Vec_PtrForEachEntryStart( char *, pNew->vNamesOut, pName, i, Gia_ManCoNum(pNew) ) + ABC_FREE( pName ); + Vec_PtrShrink( pNew->vNamesOut, Gia_ManCoNum(pNew) ); + } return pNew; } -- cgit v1.2.3