Browse Source

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

This fixes unpredictable failures of commands like "print @some_device".
pre-master-46
Giles Atkinson 3 years ago
committed by Holger Vogt
parent
commit
8ad759bd66
  1. 4
      src/spicelib/devices/cktinit.c

4
src/spicelib/devices/cktinit.c

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

Loading…
Cancel
Save