From 4d56acfd5aa59cf5d2d0109d9836fadb33cffe97 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sun, 4 Nov 2018 20:24:33 +0800 Subject: Several recent bug fixes. --- src/aig/gia/giaIf.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/aig/gia') diff --git a/src/aig/gia/giaIf.c b/src/aig/gia/giaIf.c index 6cb76ba1..18525168 100644 --- a/src/aig/gia/giaIf.c +++ b/src/aig/gia/giaIf.c @@ -2232,7 +2232,7 @@ Gia_Man_t * Gia_ManPerformMappingInt( Gia_Man_t * p, If_Par_t * pPars ) { extern void Gia_ManIffTest( Gia_Man_t * pGia, If_LibLut_t * pLib, int fVerbose ); Gia_Man_t * pNew; - If_Man_t * pIfMan; int i, Entry, EntryF; + If_Man_t * pIfMan; int i, Id, Entry, EntryF; assert( pPars->pTimesArr == NULL ); assert( pPars->pTimesReq == NULL ); if ( p->vCiArrs ) @@ -2244,11 +2244,10 @@ Gia_Man_t * Gia_ManPerformMappingInt( Gia_Man_t * p, If_Par_t * pPars ) } else if ( p->vInArrs ) { - int Id, And2Delay = p->And2Delay ? p->And2Delay : 1; assert( Vec_FltSize(p->vInArrs) == Gia_ManCiNum(p) ); pPars->pTimesArr = ABC_CALLOC( float, Gia_ManCiNum(p)); Gia_ManForEachCiId( p, Id, i ) - pPars->pTimesArr[i] = Vec_FltEntry(p->vInArrs, i)/And2Delay; + pPars->pTimesArr[i] = Vec_FltEntry(p->vInArrs, i); } if ( p->vCoReqs ) { -- cgit v1.2.3