From: hartmann Date: Fri, 3 Jun 2005 08:36:23 +0000 (+0000) Subject: Make it compile with gcc2.95.3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3096a081ec1f98239f67196cf9ba903d427ba6c7;p=dealii-svn.git Make it compile with gcc2.95.3 git-svn-id: https://svn.dealii.org/trunk@10822 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/include/base/symmetric_tensor.h b/deal.II/base/include/base/symmetric_tensor.h index bd5cf25cf2..a6472f2d6c 100644 --- a/deal.II/base/include/base/symmetric_tensor.h +++ b/deal.II/base/include/base/symmetric_tensor.h @@ -2148,7 +2148,7 @@ deviator_tensor () // off-diagonal elements twice, so simply // copying requires a weight of 1/2 for (unsigned int i=dim; - i::base_tensor_descriptor::n_rank2_components; + i::n_rank2_components; ++i) tmp.data[i][i] = 0.5; @@ -2188,7 +2188,7 @@ identity_tensor () // off-diagonal elements twice, so simply // copying requires a weight of 1/2 for (unsigned int i=dim; - i::base_tensor_descriptor::n_rank2_components; + i::n_rank2_components; ++i) tmp.data[i][i] = 0.5;