Fixed a print statement.

This commit is contained in:
kolev1 2009-09-19 00:09:41 +00:00
parent df0528b310
commit 63ac55d142

View File

@ -511,7 +511,10 @@ hypre_PCGSolve( void *pcg_vdata,
}
else
{
printf("Recomputing the residual...\n");
if (print_level > 1 && my_id == 0)
{
printf("Recomputing the residual...\n");
}
(*(pcg_functions->CopyVector))(b, r);
(*(pcg_functions->Matvec))(matvec_data, -1.0, A, x, 1.0, r);
}