From a6a3d884ee40a81a6c8d89ccbb75c800a240252f Mon Sep 17 00:00:00 2001 From: rlar Date: Sat, 27 May 2017 15:47:18 +0200 Subject: [PATCH] fix commit "mifsetup.c, MIFunsetup(), #1/3 delete broken code" which silently dropped the here->initialized = MIF_FALSE aspect of the MIFunsetup() function which caused segfault in testcase examples/memristor/memristor_x.sp --- src/xspice/mif/mifsetup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xspice/mif/mifsetup.c b/src/xspice/mif/mifsetup.c index 3b968ac7c..4a943f220 100644 --- a/src/xspice/mif/mifsetup.c +++ b/src/xspice/mif/mifsetup.c @@ -515,6 +515,7 @@ MIFunsetup(GENmodel *inModel,CKTcircuit *ckt) } /* end for number of ports */ } /* end for number of connections */ + here->initialized = MIF_FALSE; } /* end for all instances */ } /* printf("MIFunsetup completed.\n");*/