inpcom.c, execute inp_fix_for_numparam() just once when call_depth == 0

This commit is contained in:
rlar 2013-05-30 12:05:46 +02:00
parent 8cb719aee0
commit 00d08874a0
1 changed files with 3 additions and 3 deletions

View File

@ -711,11 +711,11 @@ inp_readall(FILE *fp, int call_depth, char *dir_name, bool comfile, bool intfile
working = cc->li_next;
inp_fix_for_numparam(working);
inp_remove_excess_ws(working);
if (call_depth == 0) {
inp_fix_for_numparam(working);
inp_remove_excess_ws(working);
comment_out_unused_subckt_models(working, line_number);
line_number = inp_split_multi_param_lines(working, line_number);