From 5d1def73d97efcb677833d228f65012ef4ad3858 Mon Sep 17 00:00:00 2001 From: PaulMullowney <60452402+PaulMullowney@users.noreply.github.com> Date: Thu, 18 Aug 2022 10:28:52 -0600 Subject: [PATCH] slight fix to compile with umpire and pinned memory pools (#682) Co-authored-by: Paul Mullowney --- src/utilities/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utilities/memory.c b/src/utilities/memory.c index bd54868bc..e4935ea72 100644 --- a/src/utilities/memory.c +++ b/src/utilities/memory.c @@ -1781,7 +1781,7 @@ hypre_umpire_pinned_pooled_allocate(void **ptr, size_t nbytes) HYPRE_Int hypre_umpire_pinned_pooled_free(void *ptr) { - const hypre_Handle *handle = hypre_handle(); + hypre_Handle *handle = hypre_handle(); const char *pool_name = hypre_HandleUmpirePinnedPoolName(handle); umpire_allocator pooled_allocator;