From: Wolfgang Bangerth Date: Fri, 6 Feb 2015 03:16:47 +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~9 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bfb1ec42c734963c0461164081067ded78d21fb;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/base/quadrature_lib.cc b/source/base/quadrature_lib.cc index 102d7b7fbb..98304d1e65 100644 --- a/source/base/quadrature_lib.cc +++ b/source/base/quadrature_lib.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. // @@ -825,7 +825,7 @@ QGaussOneOverR<2>::QGaussOneOverR(const unsigned int n, double eps = 1e-8; unsigned int q_id = 0; // Current quad point index. double area = 0; - Point<2> dist; + Tensor<1,2> dist; for (unsigned int box=0; box<4; ++box) {