From 5cc5e351f1aeeab22142dd166c3db70a23bdaf08 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Thu, 3 Jun 2021 16:06:09 +0200 Subject: [PATCH] prepare for the new pswitch with g, gd input --- src/frontend/inpcom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index 6af0ffa82..a8495eb6c 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -8598,14 +8598,14 @@ static struct card *pspice_compat(struct card *oldcard) if ((nesting > 0) && find_a_model(modelsfound, stoks[5], subcktline->line)) { tfree(card->line); - card->line = tprintf("a%s %%vd(%s %s) %%gd(%s %s) a%s", + card->line = tprintf("a%s %%gd(%s %s) %%gd(%s %s) a%s", stoks[0], stoks[3], stoks[4], stoks[1], stoks[2], stoks[5]); } /* if model is not within same subcircuit, search at top level */ else if (find_a_model(modelsfound, stoks[5], "top")) { tfree(card->line); - card->line = tprintf("a%s %%vd(%s %s) %%gd(%s %s) a%s", + card->line = tprintf("a%s %%gd(%s %s) %%gd(%s %s) a%s", stoks[0], stoks[3], stoks[4], stoks[1], stoks[2], stoks[5]); }