Browse Source

Small correction to previous commit.

pre-master-46
Holger Vogt 3 years ago
parent
commit
27ba1e39df
  1. 2
      src/spicelib/devices/bjt/bjttemp.c

2
src/spicelib/devices/bjt/bjttemp.c

@ -140,7 +140,7 @@ BJTtemp(GENmodel *inModel, CKTcircuit *ckt)
fprintf(stderr, "Warning: parameter mjc (including tempco) of model %s is limited to 0.999\n", model->gen.GENmodName); fprintf(stderr, "Warning: parameter mjc (including tempco) of model %s is limited to 0.999\n", model->gen.GENmodName);
} }
here->BJTtjunctionExpSub = model->BJTexponentialSubstrate * (1+model->BJTtmjs1*dt+model->BJTtmjs2*dt*dt); here->BJTtjunctionExpSub = model->BJTexponentialSubstrate * (1+model->BJTtmjs1*dt+model->BJTtmjs2*dt*dt);
if (here->BJTtjunctionExpSub > 0.999) {/* limit required due to line 314 */
if (here->BJTtjunctionExpSub > 0.999) {/* limit required due to line 732 in bjtload.c */
here->BJTtjunctionExpSub = 0.999; here->BJTtjunctionExpSub = 0.999;
fprintf(stderr, "Warning: parameter mjs (including tempco) of model %s is limited to 0.999\n", model->gen.GENmodName); fprintf(stderr, "Warning: parameter mjs (including tempco) of model %s is limited to 0.999\n", model->gen.GENmodName);
} }

Loading…
Cancel
Save