From 873d68e67b475ff25fc1556f5bebe4b5b89ced34 Mon Sep 17 00:00:00 2001 From: heister Date: Tue, 26 Nov 2013 16:43:06 +0000 Subject: [PATCH] next try to remove compilation warning in tensor_base.h git-svn-id: https://svn.dealii.org/trunk@31808 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/base/derivative_form.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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