EgtNumKernel 1.5a5 : aggiunte versioni a 64bit.
This commit is contained in:
+1
-1
@@ -203,7 +203,7 @@ Polynomial::FindRoots( DBLVECTOR& vdRoot)
|
||||
int
|
||||
FilterMultipleAndOutOfRangeRoots( DBLVECTOR& vRoots, double dMin, double dMax, double dEps)
|
||||
{
|
||||
int nZ = vRoots.size() ;
|
||||
int nZ = (int) vRoots.size() ;
|
||||
for ( int i = 0 ; i < nZ ;) {
|
||||
if ( vRoots[i] < dMin || vRoots[i] > dMax ||
|
||||
( i >= 1 && fabs( vRoots[i]- vRoots[i-1]) < dEps)) {
|
||||
|
||||
Reference in New Issue
Block a user