cancer of the semicolon
This commit is contained in:
parent
d50ffdd987
commit
0beb95757f
|
|
@ -837,7 +837,7 @@ nupa_copy (char *s, int linenum)
|
|||
if (!inexpansionS)
|
||||
{
|
||||
putlogfile (dicoS->dyncategory[linenum], linenum, t);
|
||||
};
|
||||
}
|
||||
}
|
||||
spice_dstring_free(&u) ;
|
||||
return t;
|
||||
|
|
|
|||
|
|
@ -362,7 +362,7 @@ void SMPprint( SMPmatrix *n1 , char *n2)
|
|||
NG_IGNORE(n2);
|
||||
|
||||
return;
|
||||
};
|
||||
}
|
||||
|
||||
void SMPprintRHS( SMPmatrix *n1, char *n2 , double* n3 , double* n4)
|
||||
{
|
||||
|
|
@ -372,7 +372,7 @@ void SMPprintRHS( SMPmatrix *n1, char *n2 , double* n3 , double* n4)
|
|||
NG_IGNORE(n4);
|
||||
|
||||
return;
|
||||
};
|
||||
}
|
||||
|
||||
#endif /* SIMULATOR */
|
||||
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ int fftInit(int M)
|
|||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
return theError;
|
||||
}
|
||||
|
||||
|
|
@ -73,14 +73,14 @@ void fftFree(void)
|
|||
if (BRLowArray[i1] != 0) {
|
||||
free(BRLowArray[i1]);
|
||||
BRLowArray[i1] = 0;
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
for (i1=8*sizeof(int)-1; i1>=0; i1--) {
|
||||
if (UtblArray[i1] != 0) {
|
||||
free(UtblArray[i1]);
|
||||
UtblArray[i1] = 0;
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*************************************************
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ void fftBRInit(int M, short *BRLow)
|
|||
if (i1 & bitmask)
|
||||
bitsum = bitsum + (Nroot_1 >> bit);
|
||||
BRLow[i1] = (short) bitsum;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
/************************************************
|
||||
|
|
@ -174,7 +174,7 @@ static inline void bitrevR2(double *ioptr, int M, short *BRLow)
|
|||
f1i = *(p0r+posAi);
|
||||
iCol -= 1;
|
||||
p1r = IOP + BRLow[iCol]*4;
|
||||
};
|
||||
}
|
||||
f2r = *(p0r+2);
|
||||
f2i = *(p0r+(2+1));
|
||||
f3r = *(p0r+posB);
|
||||
|
|
@ -198,8 +198,8 @@ static inline void bitrevR2(double *ioptr, int M, short *BRLow)
|
|||
*(p0r+posB) = f3r;
|
||||
*(p0r+posBi) = f3i;
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static inline void fft2pt(double *ioptr);
|
||||
|
|
@ -1247,7 +1247,7 @@ static inline void scbitrevR2(double *ioptr, int M, short *BRLow, double scale)
|
|||
f1i = *(p0r+posAi);
|
||||
iCol -= 1;
|
||||
p1r = IOP + BRLow[iCol]*4;
|
||||
};
|
||||
}
|
||||
f2r = *(p0r+2);
|
||||
f2i = *(p0r+(2+1));
|
||||
f3r = *(p0r+posB);
|
||||
|
|
@ -1271,8 +1271,8 @@ static inline void scbitrevR2(double *ioptr, int M, short *BRLow, double scale)
|
|||
*(p0r+posB) = scale*f3r;
|
||||
*(p0r+posBi) = scale*f3i;
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static inline void ifft2pt(double *ioptr, double scale);
|
||||
|
|
@ -2626,7 +2626,7 @@ static inline void frstage(double *ioptr, int M, double *Utbl)
|
|||
|
||||
p0r += 2;
|
||||
p1r -= 2;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
void rffts1(double *ioptr, int M, int Rows, double *Utbl, short *BRLow)
|
||||
|
|
@ -3123,7 +3123,7 @@ static inline void ifrstage(double *ioptr, int M, double *Utbl)
|
|||
|
||||
p0r += 2;
|
||||
p1r -= 2;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
void riffts1(double *ioptr, int M, int Rows, double *Utbl, short *BRLow)
|
||||
|
|
|
|||
|
|
@ -216,8 +216,8 @@ NIiter(CKTcircuit *ckt, int maxIter)
|
|||
diff = (ckt->CKTrhs)[node->number] -
|
||||
(ckt->CKTrhsOld)[node->number];
|
||||
if (diff>maxdiff) maxdiff=diff;
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
if (maxdiff>10) {
|
||||
damp_factor=10/maxdiff;
|
||||
if (damp_factor<0.1) damp_factor=0.1;
|
||||
|
|
@ -226,13 +226,13 @@ NIiter(CKTcircuit *ckt, int maxIter)
|
|||
(ckt->CKTrhsOld)[node->number];
|
||||
(ckt->CKTrhs)[node->number]=(ckt->CKTrhsOld)[node->number] +
|
||||
(damp_factor * diff);
|
||||
};
|
||||
}
|
||||
for(i=0;i<ckt->CKTnumStates;i++) {
|
||||
diff = *(ckt->CKTstate0+i) - *(OldCKTstate0+i);
|
||||
*(ckt->CKTstate0+i) = *(OldCKTstate0+i) +
|
||||
(damp_factor * diff);
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -36,8 +36,8 @@ CKTncDump(
|
|||
fprintf(stdout," *");
|
||||
}
|
||||
fprintf(stdout,"\n");
|
||||
};
|
||||
}
|
||||
i++;
|
||||
};
|
||||
}
|
||||
fprintf(stdout,"\n");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ BJTask(CKTcircuit *ckt, GENinstance *instPtr, int which, IFvalue *value, IFvalue
|
|||
!(ckt->CKTmode & MODETRANOP)) {
|
||||
value->rValue -= *(ckt->CKTstate0 + here->BJTcqsub);
|
||||
}
|
||||
};
|
||||
}
|
||||
value->rValue *= here->BJTm;
|
||||
return(OK);
|
||||
case BJT_QUEST_GPI:
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ DEVpnjlim(double vnew, double vold, double vt, double vcrit, int *icheck)
|
|||
*icheck = 1;
|
||||
} else {
|
||||
*icheck = 0;
|
||||
};
|
||||
}
|
||||
} else {
|
||||
*icheck = 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -741,8 +741,8 @@ next1: if(vbs <= -3*vt) {
|
|||
ddldvd = -dldvd;
|
||||
ddldvb = 0.0;
|
||||
goto line520;
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
if ( model->MOS3maxDriftVel <= 0.0 ) goto line510;
|
||||
if (model->MOS3alpha == 0.0) goto line700;
|
||||
|
|
@ -790,7 +790,7 @@ line510:
|
|||
delxl = sqrt(model->MOS3kappa*model->MOS3alpha*
|
||||
((here->MOS3mode*vds)-vdsat+(vdsat/8)));
|
||||
dldvd = 0.5*delxl/((here->MOS3mode*vds)-vdsat+(vdsat/8));
|
||||
};
|
||||
}
|
||||
ddldvg = 0.0;
|
||||
ddldvd = -dldvd;
|
||||
ddldvb = 0.0;
|
||||
|
|
|
|||
|
|
@ -759,8 +759,8 @@ next1: if(vbs <= -3*vt) {
|
|||
ddldvd = -dldvd;
|
||||
ddldvb = 0.0;
|
||||
goto line520;
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
if ( model->MOS9maxDriftVel <= 0.0 ) goto line510;
|
||||
if (model->MOS9alpha == 0.0) goto line700;
|
||||
cdsat = cdrain;
|
||||
|
|
@ -802,7 +802,7 @@ line510:
|
|||
delxl = sqrt(model->MOS9kappa*model->MOS9alpha*
|
||||
((here->MOS9mode*vds)-vdsat+(vdsat/8)));
|
||||
dldvd = 0.5*delxl/((here->MOS9mode*vds)-vdsat+(vdsat/8));
|
||||
};
|
||||
}
|
||||
ddldvg = 0.0;
|
||||
ddldvd = -dldvd;
|
||||
ddldvb = 0.0;
|
||||
|
|
|
|||
|
|
@ -549,7 +549,7 @@ static int vectoblt TCL_CMDPROCARGS(clientData,interp,argc,argv) {
|
|||
}
|
||||
Blt_ResetVector(imag_BltVector, compData, var_dvec->v_length, var_dvec->v_length, TCL_VOLATILE);
|
||||
}
|
||||
};
|
||||
}
|
||||
} else
|
||||
{
|
||||
Blt_ResetVector(real_BltVector, var_dvec->v_realdata, var_dvec->v_length, var_dvec->v_length, TCL_VOLATILE);
|
||||
|
|
|
|||
|
|
@ -1152,7 +1152,7 @@ size_t f_w_r_i_t_e(const void * __ptr, size_t __size, size_t __n, FILE * __strea
|
|||
fp_u_t_c(c, __stream);
|
||||
} else
|
||||
break;
|
||||
};
|
||||
}
|
||||
// f_r_e_a_d(out, __size, __n, __stream);
|
||||
// p_r_i_n_t_f("test2 %s", out);
|
||||
return (int)(i/__size);
|
||||
|
|
|
|||
Loading…
Reference in New Issue