From b0e242adb05b2bef514a090d1be23b9e23c19156 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Wed, 26 Aug 2015 21:54:04 -0500 Subject: [PATCH] Bugfix: Use Tensor<...,Number>() instead of Point() --- include/deal.II/base/function.templates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>(); } -- 2.39.5