Modified the Sensitivity Analysis to use the SMP interface for SPARSE
This commit is contained in:
parent
af7ab797c2
commit
95fe893581
|
|
@ -142,7 +142,7 @@ int sens_sens(CKTcircuit *ckt, int restart)
|
|||
size = SMPmatSize(ckt->CKTmatrix);
|
||||
|
||||
/* Create the perturbation matrix */
|
||||
error = SMPnewMatrix(&delta_Y, size);
|
||||
delta_Y = spCreate(size, 1, &error);
|
||||
if (error)
|
||||
return error;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue