From: bangerth Date: Thu, 24 Jun 2010 14:55:21 +0000 (+0000) Subject: Fix a problem with an unused variable that the compiler complains about. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36642769d171597b8f02ae63304e9fd1401e8059;p=dealii-svn.git Fix a problem with an unused variable that the compiler complains about. git-svn-id: https://svn.dealii.org/trunk@21325 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/fe/fe_values.h b/deal.II/deal.II/include/fe/fe_values.h index b4f37e0a26..e0d00fe664 100644 --- a/deal.II/deal.II/include/fe/fe_values.h +++ b/deal.II/deal.II/include/fe/fe_values.h @@ -3962,8 +3962,7 @@ namespace FEValuesViews symmetrize_single_row (const unsigned int n, const Tensor<1,1> &t) { - const unsigned int dim = 1; - Assert (n < dim, ExcIndexRange (n, 0, dim)); + Assert (n < 1, ExcIndexRange (n, 0, 1)); const double array[1] = { t[0] }; return dealii::SymmetricTensor<2,1>(array);