remove superfluous double parentheses
This commit is contained in:
parent
6074d2528f
commit
aa49874dc2
|
|
@ -287,7 +287,7 @@ com_sttus(wordlist *wl)
|
|||
else
|
||||
fprintf(cp_out, "stop");
|
||||
printcond(d, cp_out);
|
||||
} else if ((d->db_type == DB_DEADIPLOT)) {
|
||||
} else if (d->db_type == DB_DEADIPLOT) {
|
||||
if (isatty(fileno(cp_out))) {
|
||||
fprintf(cp_out, "%-4d exiting iplot %s", d->db_number,
|
||||
d->db_nodename1);
|
||||
|
|
|
|||
|
|
@ -922,17 +922,17 @@ formula(dico_t *dico, const char *s, const char *s_end, bool *perror)
|
|||
u = formula(dico, s, kptr, &error);
|
||||
state = S_atom;
|
||||
if (fu > 0) {
|
||||
if ((fu == XFU_TERNARY_FCN))
|
||||
if (fu == XFU_TERNARY_FCN)
|
||||
u = ternary_fcn(v, w, u);
|
||||
else if ((fu == XFU_AGAUSS))
|
||||
else if (fu == XFU_AGAUSS)
|
||||
u = agauss(v, w, u);
|
||||
else if ((fu == XFU_GAUSS))
|
||||
else if (fu == XFU_GAUSS)
|
||||
u = gauss(v, w, u);
|
||||
else if ((fu == XFU_UNIF))
|
||||
else if (fu == XFU_UNIF)
|
||||
u = unif(v, u);
|
||||
else if ((fu == XFU_AUNIF))
|
||||
else if (fu == XFU_AUNIF)
|
||||
u = aunif(v, u);
|
||||
else if ((fu == XFU_LIMIT))
|
||||
else if (fu == XFU_LIMIT)
|
||||
u = limit(v, u);
|
||||
else
|
||||
u = mathfunction(fu, v, u);
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ BJTdisto(int mode, GENmodel *genmodel, CKTcircuit *ckt)
|
|||
}
|
||||
}
|
||||
|
||||
if ((mode == D_2F1MF2)){
|
||||
if (mode == D_2F1MF2){
|
||||
|
||||
r2h1m2x = *(job->r2H1m2ptr + (here->BJTbasePrimeNode)) -
|
||||
*(job->r2H1m2ptr + (here->BJTemitPrimeNode));
|
||||
|
|
@ -158,7 +158,7 @@ BJTdisto(int mode, GENmodel *genmodel, CKTcircuit *ckt)
|
|||
i2h1m2z = i2h1m2x;
|
||||
}
|
||||
}
|
||||
if ((mode == D_F1PF2)){
|
||||
if (mode == D_F1PF2){
|
||||
|
||||
r1h2x = *(job->r1H2ptr + (here->BJTbasePrimeNode)) -
|
||||
*(job->r1H2ptr + (here->BJTemitPrimeNode));
|
||||
|
|
|
|||
|
|
@ -302,7 +302,7 @@ ISRCload(GENmodel *inModel, CKTcircuit *ckt)
|
|||
break;
|
||||
}
|
||||
for(i=0; i < (here->ISRCfunctionOrder / 2) - 1; i++) {
|
||||
if((*(here->ISRCcoeffs+2*i)==time)) {
|
||||
if(*(here->ISRCcoeffs+2*i)==time) {
|
||||
value = *(here->ISRCcoeffs+2*i+1);
|
||||
goto loadDone;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ LTRAload(GENmodel *inModel, CKTcircuit *ckt)
|
|||
i--;
|
||||
|
||||
/*#ifdef LTRADEBUG*/
|
||||
if ((i == -1)) {
|
||||
if (i == -1) {
|
||||
#ifdef LTRADEBUG
|
||||
printf("LTRAload: mistake: cannot find delayed timepoint\n");
|
||||
return E_INTERN;
|
||||
|
|
|
|||
Loading…
Reference in New Issue