Browse Source

prevent crash, if due to input bug ckt is not created,

reported by  Andrian
pre-master-46
h_vogt 12 years ago
committed by rlar
parent
commit
780ccbfb3c
  1. 3
      src/frontend/inp.c

3
src/frontend/inp.c

@ -852,7 +852,8 @@ inp_dodeck(
}
/* set ckt->CKTisLinear=1 if circuit only contains R, L, C */
cktislinear(ckt, deck);
if (ckt)
cktislinear(ckt, deck);
/* set some output terminal data */
out_init();

Loading…
Cancel
Save