[comp.lsi] BUGs in spice 3a7 & 3b1

robert@csustan.UUCP (09/22/87)

Thought I'd relay my experience getting spice 3a7 & 3b1 going:

Version 3a7-
In FTE/spiceif.c: if (type = VTNUM) should have been (type == VTNUM)
(caused a problem with ITL5 option)
In dev/mos1.C-
some variable (possibly the double cbhat or cdhat) was being accessed
before initialization, causing a floating point exception.  I initialized
most of the doubles to zero and the problem went away.

Version 3B1-
Same problem in MOS[123]load.c with uninitialized variables.
In output.c-
char tbuf[1024] isn't large enough for many termcap entries.
I changed this to: char tbuf[4096].  This problem would show
up whenever "help" was typed.
With these changes spice3b1 worked on my own input decks and all of
the example input files.  The recently posted input file, "toronto",
worked with version 3a7, but fails to converge in version 3b1.

B.T.W., thanks to Tom Quarles & the other authors that provided this
excellent code!

-- 
Robert Zeff                         (209) 577-4268 voice, FAX: (209) 577-8548
ZAPCO                               {lll-lcc,lll-crg}!csustan!zapco!robert
2549 Yosemite Blvd Ste. E           {lll-lcc,lll-crg}!csustan!zhome!robert
Modesto, Ca. 95354                  {lll-lcc,lll-crg}!csustan!robert