]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix a problem with an unused variable that the compiler complains about.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 24 Jun 2010 14:55:21 +0000 (14:55 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 24 Jun 2010 14:55:21 +0000 (14:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@21325 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/fe/fe_values.h

index b4f37e0a264e8477f7351c06079506b5deefcf95..e0d00fe664678eedadc85f6e597952cefc83edd3 100644 (file)
@@ -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);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.