fix bug node collapsing BI BP

This commit is contained in:
Markus Mueller 2020-07-21 13:05:54 +02:00
parent 6f5627f441
commit 34f579c08f
1 changed files with 1 additions and 1 deletions

View File

@ -619,7 +619,7 @@ HICUMsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *states)
}
if(model->HICUMrbi0 == 0) {
here->HICUMbaseBINode = here->HICUMbaseBPNode;
} else if(here->HICUMemitEINode == 0) {
} else if(here->HICUMbaseBINode == 0) {
error = CKTmkVolt(ckt, &tmp, here->HICUMname, "baseBI");
if(error) return(error);
here->HICUMbaseBINode = tmp->number;