don't ask two times if the allocation has failed

This commit is contained in:
dwarning 2018-11-06 18:58:51 +01:00 committed by Holger Vogt
parent f7c36d66d4
commit 9789956815
1 changed files with 0 additions and 2 deletions

View File

@ -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;