Corrected a bug during the Sensitivity Analysis when NG-Spice is compiled with KLU enabled

This commit is contained in:
Francesco Lannutti 2012-02-23 00:08:54 +01:00 committed by Francesco Lannutti
parent d99e935137
commit ec1192a36f
1 changed files with 2 additions and 0 deletions

View File

@ -92,6 +92,8 @@ int sens_sens(CKTcircuit *ckt, int restart)
*saved_irhs = 0;
MatrixFrame *saved_matrix = 0;
delta_Y = TMALLOC(SMPmatrix, 1);
#ifndef notdef
#ifdef notdef
for (sg = sgen_init(ckt, 0); sg; sgen_next(&sg)) {