#4/4 finish the switch from ngcomplex* args to ngcomplex

This commit is contained in:
rlar 2012-02-07 19:55:20 +00:00
parent a056ea3065
commit fce7548bd2
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2012-02-07 Robert Larice
* src/include/ngspice/complex.h :
#4/4 finish the switch from ngcomplex* args to ngcomplex
2012-02-07 Robert Larice
* src/ngsconvert.c ,
* src/tclspice.c ,

View File

@ -14,8 +14,8 @@ struct ngcomplex {
typedef struct ngcomplex ngcomplex_t;
#define realpart(cval) (&(cval))->cx_real
#define imagpart(cval) (&(cval))->cx_imag
#define realpart(cval) (cval).cx_real
#define imagpart(cval) (cval).cx_imag
#ifdef CIDER
/* From Cider numcomplex.h