From: heister Date: Tue, 26 Nov 2013 16:43:06 +0000 (+0000) Subject: next try to remove compilation warning in tensor_base.h X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=873d68e67b475ff25fc1556f5bebe4b5b89ced34;p=dealii-svn.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