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
This commit is contained in:
rlar
2017-06-06 16:42:32 +02:00
parent 6ac19b03a3
commit a6a3d884ee
+1
View File
@@ -515,6 +515,7 @@ MIFunsetup(GENmodel *inModel,CKTcircuit *ckt)
} /* end for number of ports */ } /* end for number of ports */
} /* end for number of connections */ } /* end for number of connections */
here->initialized = MIF_FALSE;
} /* end for all instances */ } /* end for all instances */
} }
/* printf("MIFunsetup completed.\n");*/ /* printf("MIFunsetup completed.\n");*/