From 1aa45363f76324017022d4427db921ffd56648f3 Mon Sep 17 00:00:00 2001 From: Francesco Lannutti Date: Sun, 10 Jul 2016 19:51:40 +0200 Subject: [PATCH] Fixed the two routines for SPARSE (thx to Marcel Hendrix) --- src/maths/sparse/spsmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/maths/sparse/spsmp.c b/src/maths/sparse/spsmp.c index a21df7b1a..735295096 100644 --- a/src/maths/sparse/spsmp.c +++ b/src/maths/sparse/spsmp.c @@ -563,7 +563,7 @@ SMPzeroRow(SMPmatrix *eMatrix, int Row) void SMPconstMult(SMPmatrix *Matrix, double constant) { - spConstMult(Matrix, constant); + spConstMult(Matrix->SPmatrix, constant); } /* @@ -572,5 +572,5 @@ SMPconstMult(SMPmatrix *Matrix, double constant) void SMPmultiply(SMPmatrix *Matrix, double *RHS, double *Solution, double *iRHS, double *iSolution) { - spMultiply(Matrix, RHS, Solution, iRHS, iSolution); + spMultiply(Matrix->SPmatrix, RHS, Solution, iRHS, iSolution); }