mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 05:47:42 +02:00
Remove in <--> unsigned int mismatch
This commit is contained in:
@@ -34,7 +34,7 @@ int CKTspCalcPowerWave(CKTcircuit* ckt)
|
|||||||
double* rhsold = ckt->CKTrhsOld;
|
double* rhsold = ckt->CKTrhsOld;
|
||||||
double* irhsold = ckt->CKTirhsOld;
|
double* irhsold = ckt->CKTirhsOld;
|
||||||
int col = ckt->CKTactivePort - 1;
|
int col = ckt->CKTactivePort - 1;
|
||||||
for (int port = 0; port < ckt->CKTportCount; port++)
|
for (unsigned int port = 0; port < ckt->CKTportCount; port++)
|
||||||
{
|
{
|
||||||
VSRCinstance* pSrc = (VSRCinstance*)(ckt->CKTrfPorts[port]);
|
VSRCinstance* pSrc = (VSRCinstance*)(ckt->CKTrfPorts[port]);
|
||||||
int row = pSrc->VSRCportNum - 1;
|
int row = pSrc->VSRCportNum - 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user