prepare for binning of N devices

This commit is contained in:
Holger Vogt 2026-02-27 17:48:23 +01:00
parent b1f215149e
commit 3103be7eea
1 changed files with 4 additions and 1 deletions

View File

@ -71,7 +71,10 @@ void INP2N(CKTcircuit *ckt, INPtables *tab, struct card *current) {
if (i >= 2) {
c = INPgetMod(ckt, token, &thismodel, tab);
if (c) {
/* check if using model binning -- pass in line since need 'l' and 'w' */
if (!thismodel)
txfree(INPgetModBin(ckt, token, &thismodel, tab, line));
if (c && !thismodel) {
LITERR(c);
tfree(c);
tfree(token);