Error correction in the direct matrix load routine.

This commit is contained in:
chtong 2000-08-11 22:44:03 +00:00
parent 039211687b
commit 6384eb81c5
2 changed files with 2 additions and 2 deletions

View File

@ -5221,7 +5221,7 @@ void HYPRE_LinSysCore::putIntoMappedMatrix(int row, int numValues,
if ( mapFromSolnList_ != NULL ) mappedCol = mapFromSolnList2_[ind2];
else mappedCol = colIndex;
colIndices_[localRow][index] = mappedCol;
colIndices_[localRow][index] = mappedCol + 1;
colValues_[localRow][index++] = values[i];
if ( (HYOutputLevel_ & HYFEI_SPECIALMASK) >= 0 )
printf("%4d : putIntoMappedMatrix : row, col = %8d %8d %e\n",

View File

@ -5221,7 +5221,7 @@ void HYPRE_LinSysCore::putIntoMappedMatrix(int row, int numValues,
if ( mapFromSolnList_ != NULL ) mappedCol = mapFromSolnList2_[ind2];
else mappedCol = colIndex;
colIndices_[localRow][index] = mappedCol;
colIndices_[localRow][index] = mappedCol + 1;
colValues_[localRow][index++] = values[i];
if ( (HYOutputLevel_ & HYFEI_SPECIALMASK) >= 0 )
printf("%4d : putIntoMappedMatrix : row, col = %8d %8d %e\n",