summaryrefslogtreecommitdiffstats
path: root/src/aig/gia/giaIf.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2014-09-09 22:50:15 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2014-09-09 22:50:15 -0700
commit49f2ec22b91512c00f41fdb51dfd18b5af34bd3e (patch)
tree6b6469fa2ade94553b7d7bd91788dd3c5103e6f5 /src/aig/gia/giaIf.c
parenta5e93ff0754c560e06ff27697b001349edef8ce1 (diff)
downloadabc-49f2ec22b91512c00f41fdb51dfd18b5af34bd3e.tar.gz
abc-49f2ec22b91512c00f41fdb51dfd18b5af34bd3e.tar.bz2
abc-49f2ec22b91512c00f41fdb51dfd18b5af34bd3e.zip
Bug fix in transferring timing info.
Diffstat (limited to 'src/aig/gia/giaIf.c')
-rw-r--r--src/aig/gia/giaIf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aig/gia/giaIf.c b/src/aig/gia/giaIf.c
index beb9f231..d3239299 100644
--- a/src/aig/gia/giaIf.c
+++ b/src/aig/gia/giaIf.c
@@ -1673,7 +1673,7 @@ void Gia_ManTransferPacking( Gia_Man_t * p, Gia_Man_t * pGia )
}
void Gia_ManTransferTiming( Gia_Man_t * p, Gia_Man_t * pGia )
{
- if ( pGia->pManTime == NULL )
+ if ( pGia->pManTime == NULL || p == pGia )
return;
p->pManTime = pGia->pManTime; pGia->pManTime = NULL;
p->pAigExtra = pGia->pAigExtra; pGia->pAigExtra = NULL;