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:
Wayne Mitchell 2021-09-23 17:30:19 -07:00 committed by GitHub
parent bed421584f
commit 5a2ccd9898
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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++)