fixed potential bug.
This commit is contained in:
parent
8ef7f73364
commit
a4ec0a0e0b
@ -255,7 +255,7 @@ hypre_BoomerAMGBuildMultipass( hypre_ParCSRMatrix *A,
|
||||
|
||||
pass_array_size = n_fine-n_coarse-n_SF;
|
||||
if (pass_array_size) pass_array = hypre_CTAlloc(int, pass_array_size);
|
||||
pass_pointer = hypre_CTAlloc(int, max_num_passes);
|
||||
pass_pointer = hypre_CTAlloc(int, max_num_passes+1);
|
||||
if (n_fine) assigned = hypre_CTAlloc(int, n_fine);
|
||||
P_diag_i = hypre_CTAlloc(int, n_fine+1);
|
||||
P_offd_i = hypre_CTAlloc(int, n_fine+1);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user