mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-29 01:04:55 +02:00
polish a very old and unused artifact in WANT_SENSE2
This commit is contained in:
@@ -300,6 +300,8 @@ ACan(CKTcircuit *ckt, int restart)
|
||||
|
||||
#ifdef WANT_SENSE2
|
||||
if(ckt->CKTsenInfo && (ckt->CKTsenInfo->SENmode&ACSEN) ){
|
||||
long save;
|
||||
int save1;
|
||||
|
||||
save = ckt->CKTmode;
|
||||
ckt->CKTmode=(ckt->CKTmode&MODEUIC)|MODEDCOP|MODEINITSMSIG;
|
||||
@@ -311,7 +313,9 @@ ACan(CKTcircuit *ckt, int restart)
|
||||
else{
|
||||
ckt->CKTsenInfo->SENacpertflag = 0;
|
||||
}
|
||||
if(error = CKTsenAC(ckt)) return (error);
|
||||
error = CKTsenAC(ckt);
|
||||
if (error)
|
||||
return (error);
|
||||
ckt->CKTmode = save;
|
||||
ckt->CKTsenInfo->SENmode = save1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user