From 330de64b196ff51561baa816db9ea1cdebe8d486 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 0076c2e27..a7d64d17c 100644 --- a/src/maths/sparse/spsmp.c +++ b/src/maths/sparse/spsmp.c @@ -568,7 +568,7 @@ SMPzeroRow(SMPmatrix *eMatrix, int Row) void SMPconstMult(SMPmatrix *Matrix, double constant) { - spConstMult(Matrix, constant); + spConstMult(Matrix->SPmatrix, constant); } /* @@ -577,5 +577,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); }