]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix compilation with GSL. 4915/head
authorDavid Wells <wellsd2@rpi.edu>
Sun, 20 Aug 2017 19:40:26 +0000 (15:40 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Sun, 20 Aug 2017 19:40:26 +0000 (15:40 -0400)
As of 2d311f0f48 the conversion constructor from Tensor to SymmetricTensor is
explicit.

source/base/function_cspline.cc

index fc4c10f22fbe2d323c60d5277c466d58ac5933e4..92f1015bf6e456d2657fa206fe3182f13c4510b4 100644 (file)
@@ -127,7 +127,7 @@ namespace Functions
   CSpline<dim>::hessian (const Point<dim>   &p,
                          const unsigned int) const
   {
-    Tensor<2,dim> res;
+    SymmetricTensor<2,dim> res;
     res[0][0] = laplacian(p);
     return res;
   }

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.