Initialized some variables to prevent compiler warnings with the assumed partition.
This code is not yet correct, however.
This commit is contained in:
parent
0be5fa9306
commit
94784e09ca
@ -1740,8 +1740,11 @@ void hypre_ParCSRMatrixExtractSubmatrices(hypre_ParCSRMatrix *A_csr, HYPRE_Int *
|
||||
nnz_offd = 0;
|
||||
nnz_diag = nnz11;
|
||||
#ifdef HYPRE_NO_GLOBAL_PARTITION
|
||||
|
||||
|
||||
/* This case is not yet implemented! */
|
||||
global_nrows = 0;
|
||||
global_ncols = 0;
|
||||
row_starts = NULL;
|
||||
col_starts = NULL;
|
||||
#else
|
||||
global_nrows = proc_offsets1[nprocs];
|
||||
global_ncols = proc_offsets1[nprocs];
|
||||
|
||||
@ -948,6 +948,8 @@ hypre_ParVectorReadIJ( MPI_Comm comm,
|
||||
{
|
||||
hypre_fscanf(file, "%d", partitioning+i);
|
||||
}
|
||||
/* This is not yet implemented correctly! */
|
||||
base_j = 0;
|
||||
#else
|
||||
partitioning = hypre_CTAlloc(HYPRE_Int,num_procs+1);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user