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=f0f81af603cc1fd4568118747dedc3aed1c391d5;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; }