From 28a4b843f18c11823ee98b0f3741aad42368abfd Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 5 Feb 2015 21:16:48 -0600 Subject: [PATCH] Either make implicit casts from Tensor<1,dim> to Point explicit, or correct the data type of where we store the result. --- source/fe/fe.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5