Modified the Sensitivity Analysis to use the SMP interface for SPARSE

This commit is contained in:
Francesco Lannutti 2016-06-21 12:50:09 +02:00 committed by rlar
parent af7ab797c2
commit 95fe893581
1 changed files with 1 additions and 1 deletions

View File

@ -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;