fixed bugzilla bug#318. The routine handles wrong input data now correctly.

Rows that are not in the partitioning are skipped and a warning is printed
out.
This commit is contained in:
ulrikey 2001-11-15 17:16:53 +00:00
parent 0626eb63fc
commit 9d5f0de97e

View File

@ -769,6 +769,13 @@ hypre_IJMatrixSetValuesParCSR( hypre_IJMatrix *matrix,
}
}
else
{
printf("Warning!!! Row %d is not inside proc. %d's partitioning!\n",
row, my_id);
printf("Input data have been ignored!!\n");
indx += n;
}
}
}
return ierr;