Avoid crash, when sensitivity analysis is called
This commit is contained in:
parent
f307586d89
commit
ca7c6cce71
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue