diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-10-08 22:41:19 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-10-08 22:41:19 -0700 |
commit | a5d07fa44afe3ef8dea3c3332140569bf16b33d4 (patch) | |
tree | 57842fd6d8df5216449fe22c2992344065dd13c5 /src/base/abci | |
parent | 9206e6ff80e56c810814a9b9f61e45be8c4c4987 (diff) | |
download | abc-a5d07fa44afe3ef8dea3c3332140569bf16b33d4.tar.gz abc-a5d07fa44afe3ef8dea3c3332140569bf16b33d4.tar.bz2 abc-a5d07fa44afe3ef8dea3c3332140569bf16b33d4.zip |
Bug fix in LMS code.
Diffstat (limited to 'src/base/abci')
-rw-r--r-- | src/base/abci/abcRec2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/abci/abcRec2.c b/src/base/abci/abcRec2.c index 460fe71d..12e444e8 100644 --- a/src/base/abci/abcRec2.c +++ b/src/base/abci/abcRec2.c @@ -658,7 +658,7 @@ static void Abc_NtkRecResizeHash2(Abc_ManRec_t2* p) printf("Hash table resize from %d to %d.\n", p->nBins, nBinsNew); // allocate a new array pBinsNew = ABC_ALLOC( int, nBinsNew ); - memset( pBinsNew, -1, sizeof(int *) * nBinsNew ); + memset( pBinsNew, -1, sizeof(int) * nBinsNew ); // rehash the entries from the old table Counter = 0; for ( i = 0; i < p->nBins; i++ ) |