spSetReal(Matrix) is correct for reorder non-complex Matrix

This commit is contained in:
dwarning 2023-06-08 14:32:40 +02:00
parent 302ac1bd19
commit 5903e71338
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ SMPreorder(
SMPmatrix *Matrix,
double PivTol, double PivRel, double Gmin)
{
spSetComplex( Matrix );
spSetReal( Matrix );
LoadGmin( Matrix, Gmin );
return spOrderAndFactor( Matrix, (spREAL*)NULL,
(spREAL)PivRel, (spREAL)PivTol, YES );