summaryrefslogtreecommitdiffstats
path: root/src/base/abci
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2022-06-08 08:50:37 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2022-06-08 08:50:37 -0700
commit3241a595bab1601a26a10d6452dbd205b2c1480f (patch)
treeea4a9f6159d5a66ccfee0f51b133981c5460e47c /src/base/abci
parent7bda1d4bfb4f927b04e7b1c03b34eaef5dd88ee8 (diff)
downloadabc-3241a595bab1601a26a10d6452dbd205b2c1480f.tar.gz
abc-3241a595bab1601a26a10d6452dbd205b2c1480f.tar.bz2
abc-3241a595bab1601a26a10d6452dbd205b2c1480f.zip
Bug fix by Ai Quoc Dao.
Diffstat (limited to 'src/base/abci')
-rw-r--r--src/base/abci/abcTiming.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/abci/abcTiming.c b/src/base/abci/abcTiming.c
index 84cda931..1341630b 100644
--- a/src/base/abci/abcTiming.c
+++ b/src/base/abci/abcTiming.c
@@ -608,7 +608,7 @@ void Abc_ManTimeDup( Abc_Ntk_t * pNtkOld, Abc_Ntk_t * pNtkNew )
}
if ( pNtkOld->pManTime->tOutLoad )
{
- pNtkNew->pManTime->tOutLoad = ABC_ALLOC( Abc_Time_t, Abc_NtkCiNum(pNtkOld) );
+ pNtkNew->pManTime->tOutLoad = ABC_ALLOC( Abc_Time_t, Abc_NtkCoNum(pNtkOld) );
memcpy( pNtkNew->pManTime->tOutLoad, pNtkOld->pManTime->tOutLoad, sizeof(Abc_Time_t) * Abc_NtkCoNum(pNtkOld) );
}