]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bugfix: Use Tensor<...,Number>() instead of Point<dim>()
authorMatthias Maier <tamiko@43-1.org>
Thu, 27 Aug 2015 02:54:04 +0000 (21:54 -0500)
committerMatthias Maier <tamiko@43-1.org>
Thu, 27 Aug 2015 04:08:25 +0000 (23:08 -0500)
include/deal.II/base/function.templates.h

index d55257d6291cc6a01fe057c475f88e6032edcdab..addb43fe653ba43bd8d1489e9a1acb2c3f3a5791 100644 (file)
@@ -125,7 +125,7 @@ Tensor<1,dim,Number> Function<dim, Number>::gradient (const Point<dim> &,
                                                       const unsigned int) const
 {
   Assert (false, ExcPureFunctionCalled());
-  return Point<dim>();
+  return Tensor<1,dim,Number>();
 }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.