From 9d5f0de97e1a8860fe90d641513c7fe0be3ec319 Mon Sep 17 00:00:00 2001 From: ulrikey Date: Thu, 15 Nov 2001 17:16:53 +0000 Subject: [PATCH] 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. --- IJ_mv/IJMatrix_parcsr.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/IJ_mv/IJMatrix_parcsr.c b/IJ_mv/IJMatrix_parcsr.c index e9de7a1aa..0bac078cb 100644 --- a/IJ_mv/IJMatrix_parcsr.c +++ b/IJ_mv/IJMatrix_parcsr.c @@ -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;