Prevent warning by the macOS compiler

This commit is contained in:
Holger Vogt 2020-04-27 10:58:06 +02:00
parent 9a1798f395
commit 1a3738ccef
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ B1noise (int mode, int operation, GENmodel *genmodel, CKTcircuit *ckt,
(double)0.0);
noizDens[B1FLNOIZ] *= model->B1fNcoef * inst->B1m *
exp(model->B1fNexp *
log(MAX(fabs(inst->B1cd),N_MINLOG))) /
log(MAX(fabs((double)inst->B1cd),N_MINLOG))) /
(data->freq *
(inst->B1w - model->B1deltaW * 1e-6) *
(inst->B1l - model->B1deltaL * 1e-6) *

View File

@ -95,7 +95,7 @@ B2noise (int mode, int operation, GENmodel *genmodel, CKTcircuit *ckt,
(double)0.0);
noizDens[B2FLNOIZ] *= model->B2fNcoef * inst->B2m *
exp(model->B2fNexp *
log(MAX(fabs(inst->B2cd),N_MINLOG))) /
log(MAX(fabs((double)inst->B2cd),N_MINLOG))) /
(data->freq *
(inst->B2w - model->B2deltaW * 1e-6) *
(inst->B2l - model->B2deltaL * 1e-6) *