]> https://gitweb.dealii.org/ - dealii.git/commitdiff
MemorySpace data: Also swap sm pointer 17895/head
authorMartin Kronbichler <martin.kronbichler@rub.de>
Wed, 27 Nov 2024 10:16:28 +0000 (11:16 +0100)
committerMartin Kronbichler <martin.kronbichler@rub.de>
Wed, 27 Nov 2024 10:16:28 +0000 (11:16 +0100)
include/deal.II/base/memory_space_data.h

index ace1182b8587789a93bfb22d702807d458159c6b..2dfe06690772e8f32360e5ee51075fa541a6eae3 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.