Removed return statements for errors in the middle of functions (should just set the error).
This commit is contained in:
parent
e63fb84296
commit
06dedbf641
@ -349,7 +349,7 @@ int HYPRE_DistributedMatrixPilutSolverSetup( HYPRE_DistributedMatrixPilutSolver
|
||||
{
|
||||
hypre_error_in_arg(1);
|
||||
/* printf("Cannot call setup to solver until matrix has been set\n");*/
|
||||
return hypre_error_flag;
|
||||
/* return hypre_error_flag; */
|
||||
}
|
||||
|
||||
/* Set up the DataDist structure */
|
||||
@ -403,7 +403,7 @@ int HYPRE_DistributedMatrixPilutSolverSetup( HYPRE_DistributedMatrixPilutSolver
|
||||
if (ierr)
|
||||
{
|
||||
hypre_error(HYPRE_ERROR_GENERIC);
|
||||
return hypre_error_flag;
|
||||
/* return hypre_error_flag; */
|
||||
}
|
||||
|
||||
#ifdef HYPRE_TIMING
|
||||
@ -429,7 +429,7 @@ int HYPRE_DistributedMatrixPilutSolverSetup( HYPRE_DistributedMatrixPilutSolver
|
||||
if (ierr)
|
||||
{
|
||||
hypre_error(HYPRE_ERROR_GENERIC);
|
||||
return hypre_error_flag;
|
||||
/* return hypre_error_flag; */
|
||||
}
|
||||
|
||||
#ifdef HYPRE_DEBUG
|
||||
|
||||
Loading…
Reference in New Issue
Block a user