parent
c1ab187e86
commit
b6ecab3e3f
|
|
@ -1845,7 +1845,7 @@ register int I, Size = Matrix->Size;
|
|||
register ElementPtr pElement;
|
||||
int NumberOfTies = 0;
|
||||
long Product, MinMarkowitzProduct;
|
||||
ElementPtr ChosenPivot, pLargestElement = NULL;
|
||||
ElementPtr ChosenPivot, pLargestElement;
|
||||
RealNumber Magnitude, LargestElementMag, Ratio, RatioOfAccepted = 0, LargestInCol;
|
||||
RealNumber FindLargestInCol();
|
||||
|
||||
|
|
|
|||
|
|
@ -159,8 +159,6 @@ int *PrintOrdToIntRowMap, *PrintOrdToIntColMap;
|
|||
SP_CALLOC( PrintOrdToIntColMap, int, Top + 1 );
|
||||
if ( PrintOrdToIntRowMap == NULL OR PrintOrdToIntColMap == NULL)
|
||||
{ Matrix->Error = spNO_MEMORY;
|
||||
SP_FREE(PrintOrdToIntColMap);
|
||||
SP_FREE(PrintOrdToIntRowMap);
|
||||
return;
|
||||
}
|
||||
for (I = 1; I <= Size; I++)
|
||||
|
|
|
|||
|
|
@ -431,10 +431,10 @@ SMPcDProd(SMPmatrix *Matrix, SPcomplex *pMantissa, int *pExponent)
|
|||
if (y < z)
|
||||
y = z;
|
||||
|
||||
#ifdef debug_print
|
||||
*pExponent = (int)(x + y);
|
||||
x = scalbn(re, (int) -y);
|
||||
z = scalbn(im, (int) -y);
|
||||
#ifdef debug_print
|
||||
printf(" ** values are: re %g, im %g, y %g, re' %g, im' %g\n",
|
||||
re, im, y, x, z);
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -2192,8 +2192,7 @@ int Row, Col, Error;
|
|||
}
|
||||
else ABORT();
|
||||
|
||||
if (Matrix != NULL)
|
||||
Matrix->Error = spOKAY;
|
||||
Matrix->Error = spOKAY;
|
||||
return;
|
||||
}
|
||||
#endif /* DOCUMENTATION */
|
||||
|
|
|
|||
Loading…
Reference in New Issue