From 008fb2932d3cbd6b41d4b3b07adf209213b6f9ba Mon Sep 17 00:00:00 2001 From: David Wells Date: Sun, 20 Aug 2017 15:40:26 -0400 Subject: [PATCH] Fix compilation with GSL. As of 2d311f0f48 the conversion constructor from Tensor to SymmetricTensor is explicit. --- source/base/function_cspline.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5