]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid a warning.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 17 Jun 2015 16:40:10 +0000 (11:40 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 17 Jun 2015 19:33:35 +0000 (14:33 -0500)
source/fe/fe_tools_interpolate.cc

index 382e1d2f07c58de4c17fe27c563f20dae5196b17..a337508f4358200202d675ad3bcaa4dde3449bc5 100644 (file)
@@ -1,6 +1,6 @@
 // ---------------------------------------------------------------------
 //
-// Copyright (C) 2000 - 2014 by the deal.II authors
+// Copyright (C) 2000 - 2015 by the deal.II authors
 //
 // This file is part of the deal.II library.
 //
@@ -222,8 +222,8 @@ namespace FETools
     for (types::global_dof_index i=0; i<dof2.n_dofs(); ++i)
       if (locally_owned_dofs.is_element(i))
         {
-          const typename OutVector::value_type touch_i = touch_count(i);
-          Assert( touch_i != typename OutVector::value_type(), ExcInternalError());
+          Assert(touch_count(i) != typename OutVector::value_type(),
+                ExcInternalError());
           u2(i) /= touch_count(i);
         }
 

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.