index `i' was definitively overwritten

This commit is contained in:
dwarning 2013-09-16 19:37:42 +02:00 committed by rlar
parent 5f5a22ec3e
commit 88d108f139
1 changed files with 4 additions and 4 deletions

View File

@ -251,10 +251,10 @@ CPLload(GENmodel *inModel, CKTcircuit *ckt)
}
}
for (i = 0; i < cp->noL; i++) {
vi->i_i[i] = vi->i_o[i] = 0.0;
vi->v_i[i] = cp->dc1[i];
vi->v_o[i] = cp->dc2[i];
for (j = 0; j < cp->noL; j++) {
vi->i_i[j] = vi->i_o[j] = 0.0;
vi->v_i[j] = cp->dc1[j];
vi->v_o[j] = cp->dc2[j];
}
}