From 3fa92bbb06214d685734fa795b13bde10e2cdd02 Mon Sep 17 00:00:00 2001 From: Pietro Incardona <incardon@mpi-cbg.de> Date: Fri, 13 Dec 2019 02:07:51 +0100 Subject: [PATCH] Fixing pack unpack functions --- src/Vector/cuda/vector_dist_cuda_funcs.cuh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Vector/cuda/vector_dist_cuda_funcs.cuh b/src/Vector/cuda/vector_dist_cuda_funcs.cuh index b30f98041..1cbaecc09 100644 --- a/src/Vector/cuda/vector_dist_cuda_funcs.cuh +++ b/src/Vector/cuda/vector_dist_cuda_funcs.cuh @@ -406,7 +406,7 @@ void remove_marked(vector_type & vd) // we reuse memory. this give us the possibility to avoid allocation and make the remove faster vd_pos_new.setMemory(exp_tmp); - vd_prp_new.setMemoryArray(&exp_tmp2); + vd_prp_new.setMemoryArray((CudaMemory *)&exp_tmp2); // resize them -- GitLab