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 cb69d8b96b
commit f37a292c82
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