Browse Source

avoid incorrect bindnodes when falling back to a 4 node device

rlar 15 years ago
parent
commit
087667dfa0
  1. 5
      ChangeLog
  2. 1
      src/spicelib/parser/inp2m.c

5
ChangeLog

@ -1,3 +1,8 @@
2011-07-24 Robert Larice
* src/spicelib/parser/inp2m.c :
avoid incorrect bindnodes when falling back to a 4 node device
thats a polish of saj's fix from 2003-07-23
2011-07-24 Robert Larice
* src/spicelib/devices/bsim3soi_dd/b3soiddld.c :
bug fix, incomplete check for NAN

1
src/spicelib/parser/inp2m.c

@ -134,6 +134,7 @@ INP2M (CKTcircuit *ckt, INPtables * tab, card * current)
#ifdef TRACE
printf("INP2M: couldn't workout number of nodes, assuming 4\n");
#endif
nodeflag = 0; /* now reset to a 4 node device */
model = nname5;/* mosfet*/
line = save; /* reset the posn to what it sould be */
}

Loading…
Cancel
Save