From: David Wells Date: Sun, 20 Aug 2017 19:40:26 +0000 (-0400) Subject: Fix compilation with GSL. X-Git-Tag: v9.0.0-rc1~1199^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=008fb2932d3cbd6b41d4b3b07adf209213b6f9ba;p=dealii.git Fix compilation with GSL. As of 2d311f0f48 the conversion constructor from Tensor to SymmetricTensor is explicit. --- diff --git a/source/base/function_cspline.cc b/source/base/function_cspline.cc index fc4c10f22f..92f1015bf6 100644 --- a/source/base/function_cspline.cc +++ b/source/base/function_cspline.cc @@ -127,7 +127,7 @@ namespace Functions CSpline::hessian (const Point &p, const unsigned int) const { - Tensor<2,dim> res; + SymmetricTensor<2,dim> res; res[0][0] = laplacian(p); return res; }