From: Bruno Turcksin Date: Fri, 18 Aug 2017 02:44:49 +0000 (-0400) Subject: Fix a bug when using Tensor with CUDA. X-Git-Tag: v9.0.0-rc1~1215^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4897%2Fhead;p=dealii.git Fix a bug when using Tensor with CUDA. --- diff --git a/include/deal.II/base/numbers.h b/include/deal.II/base/numbers.h index 7bdc3d8244..46bddf1e6a 100644 --- a/include/deal.II/base/numbers.h +++ b/include/deal.II/base/numbers.h @@ -397,7 +397,7 @@ namespace internal template struct NumberType { - static T value (const T &t) + static DEAL_II_CUDA_HOST_DEV T value (const T &t) { return t; }