From 6a41b92e2643ab0290392b788c50781853bfc112 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Wed, 27 Nov 2024 11:16:28 +0100 Subject: [PATCH] MemorySpace data: Also swap sm pointer --- include/deal.II/base/memory_space_data.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/deal.II/base/memory_space_data.h b/include/deal.II/base/memory_space_data.h index ace1182b85..2dfe066907 100644 --- a/include/deal.II/base/memory_space_data.h +++ b/include/deal.II/base/memory_space_data.h @@ -175,6 +175,7 @@ namespace MemorySpace std::swap(u.values_host_buffer, v.values_host_buffer); std::swap(u.values, v.values); std::swap(u.values_sm_ptr, v.values_sm_ptr); + std::swap(u.values_sm, v.values_sm); } #endif -- 2.39.5