From 3bfb1ec42c734963c0461164081067ded78d21fb Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 5 Feb 2015 21:16:47 -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/base/quadrature_lib.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.39.5