Fix compile warnings (#444)
This fixes a couple of compiler warnings introduced in the last merge into master.
This commit is contained in:
parent
59fcd47e6d
commit
2e5b573b2b
@ -910,8 +910,6 @@ HYPRE_Int hypre_AMGDDCompGridFinalize( hypre_ParAMGDDData *amgdd_data )
|
||||
HYPRE_Int num_recv_procs;
|
||||
HYPRE_Int new_num_recv_nodes;
|
||||
HYPRE_Int new_num_recv_procs;
|
||||
HYPRE_Int num_owned_c_points;
|
||||
HYPRE_Int num_nonowned_real_c_points;
|
||||
HYPRE_Int real_cnt, ghost_cnt;
|
||||
HYPRE_Int proc, outer_level, level, i, j;
|
||||
#if defined(HYPRE_USING_CUDA) || defined(HYPRE_USING_HIP)
|
||||
|
||||
@ -1691,7 +1691,7 @@ hypre_BoomerAMGBuildRestrNeumannAIRHost( hypre_ParCSRMatrix *A,
|
||||
HYPRE_Int *R_offd_j;
|
||||
HYPRE_BigInt *col_map_offd_R;
|
||||
|
||||
HYPRE_Int i, j, j1, i1, ic,
|
||||
HYPRE_Int i, j, j1, ic,
|
||||
num_cols_offd_R;
|
||||
HYPRE_Int my_id, num_procs;
|
||||
HYPRE_BigInt total_global_cpts/*, my_first_cpt*/;
|
||||
|
||||
@ -6106,7 +6106,7 @@ hypre_ParCSRMatrixDropSmallEntries( hypre_ParCSRMatrix *A,
|
||||
hypre_GpuProfilingPopRange();
|
||||
#endif
|
||||
|
||||
return hypre_error_flag;
|
||||
return ierr;
|
||||
}
|
||||
|
||||
/* Scale ParCSR matrix A = scalar * A
|
||||
|
||||
Loading…
Reference in New Issue
Block a user