Fixed the two routines for SPARSE (thx to Marcel Hendrix)
This commit is contained in:
parent
13b0c64383
commit
fa61e0b9ac
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue