From: Wolfgang Bangerth Date: Fri, 6 Feb 2015 03:16:48 +0000 (-0600) Subject: Either make implicit casts from Tensor<1,dim> to Point explicit, or correct... X-Git-Tag: v8.3.0-rc1~492^2~7 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28a4b843f18c11823ee98b0f3741aad42368abfd;p=dealii.git Either make implicit casts from Tensor<1,dim> to Point explicit, or correct the data type of where we store the result. --- diff --git a/source/fe/fe.cc b/source/fe/fe.cc index 3d27d7b861..199ef6366f 100644 --- a/source/fe/fe.cc +++ b/source/fe/fe.cc @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 1998 - 2014 by the deal.II authors +// Copyright (C) 1998 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -64,8 +64,8 @@ InternalDataBase::initialize_2nd (const FiniteElement *element, differences.resize(2*dim); for (unsigned int d=0; d shift; - shift (d) = fd_step_length; + Tensor<1,dim> shift; + shift[d] = fd_step_length; // generate points and FEValues // objects shifted in