Bug fix in LMS code.

This commit is contained in:
Alan Mishchenko 2012-10-08 22:41:19 -07:00
parent 9206e6ff80
commit a5d07fa44a
1 changed files with 1 additions and 1 deletions

View File

@ -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++ )