diff --git a/src/spicelib/devices/cpl/cpl.c b/src/spicelib/devices/cpl/cpl.c index 58838ac65..e0acbe8ff 100644 --- a/src/spicelib/devices/cpl/cpl.c +++ b/src/spicelib/devices/cpl/cpl.c @@ -27,8 +27,8 @@ IFparm CPLmPTable[] = { /* model parameters */ }; char *CPLnames[] = { - "P+", - "P-" + "P+", /* 1 */ /* doesn't fit either ! */ + "P-" /* 2 */ /* doesn't fit either ! */ }; int CPLnSize = NUMELEMS(CPLnames); diff --git a/src/spicelib/devices/cpl/cpldefs.h b/src/spicelib/devices/cpl/cpldefs.h index ad833fb32..aa8ed1d9a 100644 --- a/src/spicelib/devices/cpl/cpldefs.h +++ b/src/spicelib/devices/cpl/cpldefs.h @@ -23,8 +23,12 @@ typedef struct sCPLinstance { IFuid CPLname; /* pointer to character string naming this instance */ int CPLstate; /* not used */ + /* GENnode[] { */ int *CPLposNodes; int *CPLnegNodes; + // FIXME, worst case, two array here within GENnode[] ! + /* } */ + int dimension; double CPLlength; int *CPLibr1; diff --git a/src/spicelib/devices/cpl/cplinit.c b/src/spicelib/devices/cpl/cplinit.c index 34f1bc43c..4d06cd6bd 100644 --- a/src/spicelib/devices/cpl/cplinit.c +++ b/src/spicelib/devices/cpl/cplinit.c @@ -11,8 +11,8 @@ SPICEdev CPLinfo = { "CplLines", "Simple Coupled Multiconductor Lines", - &CPLnSize, - &CPLnSize, + &CPLnSize, /* FIXME, should be say 0 here for this special case ? */ + &CPLnSize, /* FIXME, should be say 0 here for this special case ? */ CPLnames, &CPLpTSize,