swallow compiler warning caused by "noise analysis, bug fix, override ac magnitude of all vsrc/isrc devices"
This commit is contained in:
parent
76a48c161d
commit
c16701b66c
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue