From: Matthias Maier Date: Thu, 27 Aug 2015 02:54:04 +0000 (-0500) Subject: Bugfix: Use Tensor<...,Number>() instead of Point() X-Git-Tag: v8.4.0-rc2~541^2~4 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0e242adb05b2bef514a090d1be23b9e23c19156;p=dealii.git Bugfix: Use Tensor<...,Number>() instead of Point() --- diff --git a/include/deal.II/base/function.templates.h b/include/deal.II/base/function.templates.h index d55257d629..addb43fe65 100644 --- a/include/deal.II/base/function.templates.h +++ b/include/deal.II/base/function.templates.h @@ -125,7 +125,7 @@ Tensor<1,dim,Number> Function::gradient (const Point &, const unsigned int) const { Assert (false, ExcPureFunctionCalled()); - return Point(); + return Tensor<1,dim,Number>(); }