From e425d355c60a3d29f2f862867ea6ef57557dd7ed Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sat, 20 Feb 2021 18:01:32 +0100 Subject: [PATCH] rename numnodes -> nunodes Numnodes has already been use elsewhere --- src/frontend/subckt.c | 4 ++-- src/include/ngspice/inpdefs.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/subckt.c b/src/frontend/subckt.c index a4d5bc97b..8141bd965 100644 --- a/src/frontend/subckt.c +++ b/src/frontend/subckt.c @@ -874,7 +874,7 @@ struct card *inp_deckcopy_oc(struct card * deck) d->nf = deck->nf; d->linenum_orig = deck->linenum; d->linenum = i++; - d->numnodes = deck->numnodes; + d->nunodes = deck->nunodes; d->line = copy(deck->line); if (deck->error) { d->error = copy(deck->error); @@ -932,7 +932,7 @@ struct card* inp_deckcopy_ln(struct card* deck) d->nf = deck->nf; d->linenum_orig = deck->linenum_orig; d->linenum = deck->linenum; - d->numnodes = deck->numnodes; + d->nunodes = deck->nunodes; d->line = copy(deck->line); if (deck->error) { d->error = copy(deck->error); diff --git a/src/include/ngspice/inpdefs.h b/src/include/ngspice/inpdefs.h index d27eb7f13..c022d0991 100644 --- a/src/include/ngspice/inpdefs.h +++ b/src/include/ngspice/inpdefs.h @@ -77,7 +77,7 @@ struct card_assoc { struct card { int linenum; int linenum_orig; - int numnodes; + int nunodes; char *line; char *error; struct card *nextcard;