Browse Source

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

pre-master-46
rlar 15 years ago
parent
commit
1d3bd15c5c
  1. 5
      ChangeLog
  2. 3
      src/spicelib/devices/hisimhv/hsmhvnoi.c
  3. 2
      src/spicelib/devices/hisimhv/hsmhvset.c

5
ChangeLog

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

3
src/spicelib/devices/hisimhv/hsmhvnoi.c

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

2
src/spicelib/devices/hisimhv/hsmhvset.c

@ -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) ) { \

Loading…
Cancel
Save