From: Timo Heister Date: Tue, 26 Nov 2013 16:43:06 +0000 (+0000) Subject: next try to remove compilation warning in tensor_base.h X-Git-Tag: v8.1.0~160 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b048260be365074dd789a6b58e5e0b619b107c1c;p=dealii.git next try to remove compilation warning in tensor_base.h git-svn-id: https://svn.dealii.org/trunk@31808 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/base/derivative_form.h b/deal.II/include/deal.II/base/derivative_form.h index 1a1f6780b6..793bdd3ba3 100644 --- a/deal.II/include/deal.II/base/derivative_form.h +++ b/deal.II/include/deal.II/base/derivative_form.h @@ -206,8 +206,9 @@ operator = (const Tensor<2,dim> &ta) Assert( (dim == spacedim) && (order==1), ExcMessage("Only allowed for square tensors.")); - for (unsigned int j=0; j::operator Tensor<2,dim>() const Assert( (dim == spacedim) && (order==1), ExcMessage("Only allowed for square tensors.")); + + Tensor<2,dim> t; - for (unsigned int j=0; j