Proper conversion bool to int
This commit is contained in:
parent
9481658221
commit
010de700f7
|
|
@ -399,7 +399,7 @@ NBJTload(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
ckt->CKTtroubleElt = (GENinstance *) inst;
|
ckt->CKTtroubleElt = (GENinstance *) inst;
|
||||||
return (E_BADMATRIX);
|
return (E_BADMATRIX);
|
||||||
}
|
}
|
||||||
devConverged = ONEdeviceConverged(pDevice);
|
devConverged = (int)ONEdeviceConverged(pDevice);
|
||||||
pDevice->converged = devConverged;
|
pDevice->converged = devConverged;
|
||||||
|
|
||||||
/* compute the currents */
|
/* compute the currents */
|
||||||
|
|
|
||||||
|
|
@ -399,7 +399,7 @@ NBJT2load(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
ckt->CKTtroubleElt = (GENinstance *) inst;
|
ckt->CKTtroubleElt = (GENinstance *) inst;
|
||||||
return (E_BADMATRIX);
|
return (E_BADMATRIX);
|
||||||
}
|
}
|
||||||
devConverged = TWOdeviceConverged(pDevice);
|
devConverged = (int)TWOdeviceConverged(pDevice);
|
||||||
pDevice->converged = devConverged;
|
pDevice->converged = devConverged;
|
||||||
|
|
||||||
/* compute the currents */
|
/* compute the currents */
|
||||||
|
|
|
||||||
|
|
@ -318,7 +318,7 @@ NUMDload(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
return (E_BADMATRIX);
|
return (E_BADMATRIX);
|
||||||
}
|
}
|
||||||
|
|
||||||
pDevice->converged = devConverged = ONEdeviceConverged(pDevice);
|
pDevice->converged = devConverged = (int)ONEdeviceConverged(pDevice);
|
||||||
|
|
||||||
/* extract the current and conductance information */
|
/* extract the current and conductance information */
|
||||||
NUMDcurrent(pDevice, TRUE, model->NUMDpInfo->intCoeff, &id);
|
NUMDcurrent(pDevice, TRUE, model->NUMDpInfo->intCoeff, &id);
|
||||||
|
|
|
||||||
|
|
@ -328,7 +328,7 @@ NUMD2load(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
ckt->CKTtroubleElt = (GENinstance *) inst;
|
ckt->CKTtroubleElt = (GENinstance *) inst;
|
||||||
return (E_BADMATRIX);
|
return (E_BADMATRIX);
|
||||||
}
|
}
|
||||||
devConverged = TWOdeviceConverged(pDevice);
|
devConverged = (int)TWOdeviceConverged(pDevice);
|
||||||
pDevice->converged = devConverged;
|
pDevice->converged = devConverged;
|
||||||
|
|
||||||
/* extract the current and conductance information */
|
/* extract the current and conductance information */
|
||||||
|
|
|
||||||
|
|
@ -496,7 +496,7 @@ NUMOSload(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
ckt->CKTtroubleElt = (GENinstance *) inst;
|
ckt->CKTtroubleElt = (GENinstance *) inst;
|
||||||
return (E_BADMATRIX);
|
return (E_BADMATRIX);
|
||||||
}
|
}
|
||||||
devConverged = TWOdeviceConverged(pDevice);
|
devConverged = (int)TWOdeviceConverged(pDevice);
|
||||||
pDevice->converged = devConverged;
|
pDevice->converged = devConverged;
|
||||||
|
|
||||||
/* compute the currents and conductances */
|
/* compute the currents and conductances */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue