don't ask two times if the allocation has failed
This commit is contained in:
parent
f7c36d66d4
commit
9789956815
|
|
@ -88,8 +88,6 @@ CKTinit(CKTcircuit **ckt) /* new circuit to create */
|
|||
sckt->CKTtroubleNode = 0;
|
||||
sckt->CKTtroubleElt = NULL;
|
||||
sckt->CKTtimePoints = NULL;
|
||||
if (sckt->CKTstat == NULL)
|
||||
return E_NOMEM;
|
||||
sckt->CKTnodeDamping = 0;
|
||||
sckt->CKTabsDv = 0.5;
|
||||
sckt->CKTrelDv = 2.0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue