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 rlar
parent ef15f74e82
commit f0e8d877bf
1 changed files with 2 additions and 2 deletions

View File

@ -562,7 +562,7 @@ SMPzeroRow(SMPmatrix *eMatrix, int Row)
void
SMPconstMult(SMPmatrix *Matrix, double constant)
{
spConstMult(Matrix, constant);
spConstMult(Matrix->SPmatrix, constant);
}
/*
@ -571,5 +571,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);
}