Fixed the two routines for SPARSE (thx to Marcel Hendrix)

This commit is contained in:
Francesco Lannutti 2016-07-10 19:51:40 +02:00 committed by Holger Vogt
parent e31867ead9
commit 330de64b19
1 changed files with 2 additions and 2 deletions

View File

@ -568,7 +568,7 @@ SMPzeroRow(SMPmatrix *eMatrix, int Row)
void void
SMPconstMult(SMPmatrix *Matrix, double constant) SMPconstMult(SMPmatrix *Matrix, double constant)
{ {
spConstMult(Matrix, constant); spConstMult(Matrix->SPmatrix, constant);
} }
/* /*
@ -577,5 +577,5 @@ SMPconstMult(SMPmatrix *Matrix, double constant)
void void
SMPmultiply(SMPmatrix *Matrix, double *RHS, double *Solution, double *iRHS, double *iSolution) SMPmultiply(SMPmatrix *Matrix, double *RHS, double *Solution, double *iRHS, double *iSolution)
{ {
spMultiply(Matrix, RHS, Solution, iRHS, iSolution); spMultiply(Matrix->SPmatrix, RHS, Solution, iRHS, iSolution);
} }