From 9b197e843d5ef12c0a37c3a30e65a17c0c33215c Mon Sep 17 00:00:00 2001 From: Philipp Grete Date: Mon, 25 Sep 2023 17:31:04 +0200 Subject: [PATCH] Fix typo --- src/bvals/comms/boundary_communication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bvals/comms/boundary_communication.cpp b/src/bvals/comms/boundary_communication.cpp index 2deabe4ef81c..bee917ac32b8 100644 --- a/src/bvals/comms/boundary_communication.cpp +++ b/src/bvals/comms/boundary_communication.cpp @@ -143,7 +143,7 @@ template TaskStatus StartReceiveBoundBufs(std::shared_ptr> &md) { Kokkos::Profiling::pushRegion("Task_StartReceiveBoundBufs"); Mesh *pmesh = md->GetMeshPointer(); - auto &cache = md->GetBvarsCache().GetSubCache(BoundaryType::flxcor_send, false); + auto &cache = md->GetBvarsCache().GetSubCache(bound_type, false); if (cache.buf_vec.size() == 0) InitializeBufferCache(md, &(pmesh->boundary_comm_map), &cache, ReceiveKey, false);