Fixed a very dangerous bug in the KCL Verification, which was inserted in a previous commit

This commit is contained in:
Francesco Lannutti 2013-08-16 14:11:15 +02:00
parent 6fb70a5f10
commit a54ac67561
1 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,8 @@ NIconvTest (CKTcircuit *ckt)
ckt->CKTreltol * maximum + ckt->CKTabstol, maximum) ;
#endif
if (fabs (ckt->CKTfvk [i]) > (ckt->CKTreltol * maximum + ckt->CKTabstol))
return 1 ;
}
#else
new = ckt->CKTrhs [i] ;