Missed one more return statement for error in the middle of the function.
This commit is contained in:
parent
06dedbf641
commit
2d5b142c22
@ -87,7 +87,7 @@ HYPRE_ConvertParCSRMatrixToDistributedMatrix(
|
||||
/* if(ierr) return(ierr);*/
|
||||
|
||||
|
||||
ierr = HYPRE_ParCSRMatrixGetDims( parcsr_matrix, &M, &N); if(ierr) return(ierr);
|
||||
ierr = HYPRE_ParCSRMatrixGetDims( parcsr_matrix, &M, &N); /* if(ierr) return(ierr); */
|
||||
ierr = HYPRE_DistributedMatrixSetDims( *DistributedMatrix, M, N);
|
||||
|
||||
ierr = HYPRE_DistributedMatrixAssemble( *DistributedMatrix );
|
||||
|
||||
Loading…
Reference in New Issue
Block a user