From 025a9fe599b16bf0ab339f992c027a0749ee1775 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sun, 22 Nov 2020 17:18:27 +0100 Subject: [PATCH] Partially undo commit [ab778d] : revert to aswitch as vswitch replacement --- 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 6a4640323..6feed3a5e 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -8006,7 +8006,7 @@ static struct card *pspice_compat(struct card *oldcard) tfree(card->line); rep_spar(modpar); card->line = tprintf( - ".model a%s pswitch(%s %s %s %s log=TRUE)", modname, + ".model a%s aswitch(%s %s %s %s log=TRUE limit=TRUE)", modname, modpar[0], modpar[1], modpar[2], modpar[3]); } for (i = 0; i < 4; i++) @@ -8187,7 +8187,7 @@ static struct card *pspice_compat(struct card *oldcard) tfree(card->line); rep_spar(modpar); card->line = tprintf( - ".model a%s pswitch(%s %s %s %s log=TRUE)", modname, + ".model a%s aswitch(%s %s %s %s log=TRUE limit=TRUE)", modname, modpar[0], modpar[1], modpar[2], modpar[3]); } for (i = 0; i < 4; i++)