Allow Multiplier for current source in subckts

This commit is contained in:
dwarning 2013-05-11 22:07:47 +02:00
parent 0b773150cc
commit 2c79b7b789
1 changed files with 2 additions and 3 deletions

View File

@ -2650,9 +2650,8 @@ inp_fix_subckt_multiplier(struct line *subckt_card,
for (card = subckt_card->li_next;
card != NULL && !ciprefix(".ends", card->li_line);
card = card->li_next) {
/* no 'm' for B, I, V or comment line */
if ((*(card->li_line) == '*') || (*(card->li_line) == 'b') || (*(card->li_line) == 'v')
|| (*(card->li_line) == 'i'))
/* no 'm' for B, V or comment line */
if ((*(card->li_line) == '*') || (*(card->li_line) == 'b') || (*(card->li_line) == 'v'))
continue;
/* no 'm' for model cards */
if (ciprefix(".model", card->li_line))