swallow compiler warning caused by "noise analysis, bug fix, override ac magnitude of all vsrc/isrc devices"

This commit is contained in:
rlar 2015-03-22 18:25:00 +01:00
parent 76a48c161d
commit c16701b66c
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ ISRCacLoad(GENmodel *inModel, CKTcircuit *ckt)
double acReal, acImag;
if ((ckt->CKTmode & MODEACNOISE) && (here == ckt->noise_input)) {
if ((ckt->CKTmode & MODEACNOISE) && ((GENinstance *) here == ckt->noise_input)) {
acReal = 1.0;
acImag = 0.0;
} else {

View File

@ -24,7 +24,7 @@ VSRCacLoad(GENmodel *inModel, CKTcircuit *ckt)
double acReal, acImag;
if ((ckt->CKTmode & MODEACNOISE) && (here == ckt->noise_input)) {
if ((ckt->CKTmode & MODEACNOISE) && ((GENinstance *) here == ckt->noise_input)) {
acReal = 1.0;
acImag = 0.0;
} else {