Fix typo in code to destroy old AMG data during setup (#484)
This is a small fix for a typo in the code for destroying the old DofFunc data when calling a new AMG setup without calling destroy.
This commit is contained in:
parent
bed421584f
commit
5a2ccd9898
@ -389,8 +389,8 @@ hypre_BoomerAMGSetup( void *amg_vdata,
|
||||
A_block_array[j] = NULL;
|
||||
}
|
||||
|
||||
hypre_IntArrayDestroy(dof_func_array[i]);
|
||||
dof_func_array[i] = NULL;
|
||||
hypre_IntArrayDestroy(dof_func_array[j]);
|
||||
dof_func_array[j] = NULL;
|
||||
}
|
||||
|
||||
for (j = 0; j < old_num_levels-1; j++)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user