From 162c8be4d2051b4a27f6478f1d97fd3c8034ec16 Mon Sep 17 00:00:00 2001 From: Wolfgang 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