From 0cef3b814a89f3a5ae18c3582468f2bbd5b230c9 Mon Sep 17 00:00:00 2001 From: Incardona Pietro <incardon@mpi-cbg.de> Date: Wed, 15 Dec 2021 19:12:35 +0100 Subject: [PATCH] Fixing examples --- src/Grid/cuda/map_grid_cuda_ker.cuh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Grid/cuda/map_grid_cuda_ker.cuh b/src/Grid/cuda/map_grid_cuda_ker.cuh index 83a85901..65dc3021 100644 --- a/src/Grid/cuda/map_grid_cuda_ker.cuh +++ b/src/Grid/cuda/map_grid_cuda_ker.cuh @@ -509,7 +509,7 @@ public: } template <unsigned int p, typename ids_type> - __device__ __host__ inline const auto get(const grid_key_dx<dim,ids_type> & v1) const -> decltype(ggk.template get<p>(v1)) + __device__ __host__ inline auto get(const grid_key_dx<dim,ids_type> & v1) const -> decltype(ggk.template get<p>(v1)) { return ggk.template get<p>(v1); } -- GitLab