Corrected the hash tables recently added to the code in resis/,
which used "HT_CLIENTKEYS" when they were intended to use "HT_WORDKEYS". See github issue #525 raised by Darryl Miles.
This commit is contained in:
parent
f650248764
commit
295ec7e492
|
|
@ -1479,7 +1479,7 @@ ResExtractNet(node, resisdata, cellname)
|
|||
|
||||
ResFindNewContactTiles(ResContactList);
|
||||
|
||||
HashInit(&DevNodeTable, HT_DEFAULTSIZE, HT_CLIENTKEYS);
|
||||
HashInit(&DevNodeTable, HT_DEFAULTSIZE, HT_WORDKEYS);
|
||||
ResPreProcessDevices(DevTiles, ResDevList, ResUse->cu_def, &DevNodeTable);
|
||||
|
||||
/* do extraction */
|
||||
|
|
|
|||
|
|
@ -172,7 +172,7 @@ ResCalcEastWest(tile, pendingList, doneList, resList)
|
|||
* a nested loop for each entry.
|
||||
*/
|
||||
if (count >= 16)
|
||||
HashInit(&BreakTable, HT_DEFAULTSIZE, HT_CLIENTKEYS);
|
||||
HashInit(&BreakTable, HT_DEFAULTSIZE, HT_WORDKEYS);
|
||||
|
||||
/*
|
||||
* Eliminate breakpoints with the same X coordinate and merge
|
||||
|
|
@ -374,7 +374,7 @@ ResCalcNorthSouth(tile, pendingList, doneList, resList)
|
|||
* a nested loop for each entry.
|
||||
*/
|
||||
if (count >= 16)
|
||||
HashInit(&BreakTable, HT_DEFAULTSIZE, HT_CLIENTKEYS);
|
||||
HashInit(&BreakTable, HT_DEFAULTSIZE, HT_WORDKEYS);
|
||||
|
||||
/* Simplified split tile handling */
|
||||
if (IsSplit(tile))
|
||||
|
|
|
|||
|
|
@ -431,7 +431,7 @@ ResParallelCheck(resptr)
|
|||
HashEntry *he;
|
||||
|
||||
/* Hash the connections */
|
||||
HashInit(&NodeResTable, HT_DEFAULTSIZE, HT_CLIENTKEYS);
|
||||
HashInit(&NodeResTable, HT_DEFAULTSIZE, HT_WORDKEYS);
|
||||
|
||||
for (rcell2 = resptr->rn_re; rcell2 != NULL; rcell2 = rcell2->re_nextEl)
|
||||
{
|
||||
|
|
@ -549,7 +549,7 @@ ResTriangleCheck(resptr)
|
|||
HashSearch hs;
|
||||
|
||||
/* Hash the neighboring connections */
|
||||
HashInit(&NodeResTable, HT_DEFAULTSIZE, HT_CLIENTKEYS);
|
||||
HashInit(&NodeResTable, HT_DEFAULTSIZE, HT_WORDKEYS);
|
||||
|
||||
for (rcell2 = resptr->rn_re; rcell2 != NULL; rcell2 = rcell2->re_nextEl)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue