From 5903e713386ec9ffdf09c2af90fd1d2819b8c9ad Mon Sep 17 00:00:00 2001 From: dwarning Date: Thu, 8 Jun 2023 14:32:40 +0200 Subject: [PATCH] spSetReal(Matrix) is correct for reorder non-complex Matrix --- src/maths/sparse/spSMP.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/maths/sparse/spSMP.c b/src/maths/sparse/spSMP.c index 4b05fdc61..0d4a4e1b5 100644 --- a/src/maths/sparse/spSMP.c +++ b/src/maths/sparse/spSMP.c @@ -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 );