mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 05:47:42 +02:00
Avoid crash, when sensitivity analysis is called
This commit is contained in:
@@ -162,6 +162,8 @@ int sens_sens(CKTcircuit* ckt, int restart)
|
|||||||
return error;
|
return error;
|
||||||
|
|
||||||
#ifdef KLU
|
#ifdef KLU
|
||||||
|
/* FIXME: needs better understanding what makes SMPkluMatrix NULL */
|
||||||
|
if(delta_Y->SMPkluMatrix)
|
||||||
delta_Y->SMPkluMatrix->KLUmatrixDiag = NULL;
|
delta_Y->SMPkluMatrix->KLUmatrixDiag = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user