From 230f13fd9f55c8d199508657740ff2bfbb7538c0 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sun, 20 Jan 2019 17:26:44 +0100 Subject: [PATCH] Fix a conversion from SymmetricTensor to Tensor --- include/deal.II/base/symmetric_tensor.templates.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/deal.II/base/symmetric_tensor.templates.h b/include/deal.II/base/symmetric_tensor.templates.h index 7ce41471ee..b5b496379b 100644 --- a/include/deal.II/base/symmetric_tensor.templates.h +++ b/include/deal.II/base/symmetric_tensor.templates.h @@ -160,7 +160,8 @@ namespace internal // Initialize the transformation matrix as the // identity tensor - Q = dealii::unit_symmetric_tensor(); + Q = static_cast>( + dealii::unit_symmetric_tensor()); // Make the first row and column to be of the // desired form -- 2.39.5