drop (SMPmatrix*) casts

This commit is contained in:
rlar 2010-08-10 18:07:13 +00:00
parent 307b0f9142
commit 547a8fc7f5
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-08-10 Robert Larice
* src/maths/ni/niniter.c' :
drop (SMPmatrix*) casts, which are no longer necessary
2010-08-10 Robert Larice
* src/spicelib/analysis/tfanal.c :
drop (GENinstance*) casts, which are no longer necessary

View File

@ -26,7 +26,7 @@ NInzIter(CKTcircuit *ckt, int posDrive, int negDrive)
/* clear out the right hand side vector */
for (i=0; i<= SMPmatSize((SMPmatrix *)ckt->CKTmatrix); i++) {
for (i = 0; i <= SMPmatSize(ckt->CKTmatrix); i++) {
*((ckt->CKTrhs) + i) = 0.0;
*((ckt->CKTirhs) + i) = 0.0;
}