From 4436a42dbc02334ab59069f1527179bd33f6bd2d Mon Sep 17 00:00:00 2001 From: rlar Date: Sun, 27 Jul 2014 11:13:17 +0200 Subject: [PATCH] inpcom.c, inp_chk_for_multi_in_vcvs(), bug fix --- src/frontend/inpcom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index d2a6df5c6..6f3644774 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -1265,7 +1265,7 @@ inp_chk_for_multi_in_vcvs(struct line *c, int *line_number) m_instance = tprintf("%s %%vd[ %s ] %%vd( %s ) %s", model_name, ctrl_node_str, node_str, model_name); m_instance[0] = 'a'; - a_card = xx_new_line(NULL, m_instance, *(line_number)++, 0); + a_card = xx_new_line(NULL, m_instance, (*line_number)++, 0); m_model = tprintf(".model %s multi_input_pwl ( x = [%s %s] y = [%s %s] model = \"%s\" )", model_name, xy_values1[0], xy_values2[0],