mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 13:57:32 +02:00
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:
@@ -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");*/
|
||||||
|
|||||||
Reference in New Issue
Block a user