minor bug fix (broken diagnostic printout) and swallow some warnings

This commit is contained in:
rlar 2011-04-29 21:04:30 +00:00
parent cef0392d7a
commit 1d3bd15c5c
3 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2011-04-29 Robert Larice
* src/spicelib/devices/hisimhv/hsmhvnoi.c ,
* src/spicelib/devices/hisimhv/hsmhvset.c :
minor bug fix (broken diagnostic printout) and swallow some warnings
2011-04-29 Robert Larice
* src/spicelib/devices/hisimhv/hsmhvdef.h :
hisimhv implementation, ngspice has one more slot (GENowner) in GENinstance

View File

@ -37,9 +37,6 @@
* all of the MOSFET's is summed with the variable "OnDens".
*/
extern void NevalSrc();
extern double Nintegrate();
int HSMHVnoise (
int mode, int operation,
GENmodel *inModel,

View File

@ -36,7 +36,7 @@
#define RANGECHECK(param, min, max, pname) \
if ( (param) < (min) || (param) > (max) ) { \
printf("warning(HiSIMHV): The model/instance parameter %s (= %e) must be in the range [%e , %e].\n", \
(pname), (param), (min), (max) ); \
(pname), (param), (double) (min), (double) (max) ); \
}
#define MINCHECK(param, min, pname) \
if ( (param) < (min) ) { \