From: Daniel Arndt Date: Sun, 20 Jan 2019 16:26:44 +0000 (+0100) Subject: Fix a conversion from SymmetricTensor to Tensor X-Git-Tag: v9.1.0-rc1~420^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=230f13fd9f55c8d199508657740ff2bfbb7538c0;p=dealii.git Fix a conversion from SymmetricTensor to Tensor --- 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