Use the correct type of hash table for device and model names.

This fixes unpredictable failures of commands like "print @some_device".
This commit is contained in:
Giles Atkinson 2023-07-29 07:51:12 +01:00 committed by Holger Vogt
parent 673ae5c01d
commit 8ad759bd66
1 changed files with 2 additions and 2 deletions

View File

@ -89,8 +89,8 @@ CKTinit(CKTcircuit **ckt) /* new circuit to create */
sckt->CKTabsDv = 0.5;
sckt->CKTrelDv = 2.0;
sckt->CKTvarHertz = 0;
sckt->DEVnameHash = nghash_init_pointer(100);
sckt->MODnameHash = nghash_init_pointer(100);
sckt->DEVnameHash = nghash_init(100);
sckt->MODnameHash = nghash_init(100);
sckt->CKTepsmin = 1e-28;
#ifdef XSPICE