From 36642769d171597b8f02ae63304e9fd1401e8059 Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 24 Jun 2010 14:55:21 +0000 Subject: [PATCH] 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 --- deal.II/deal.II/include/fe/fe_values.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.39.5