]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add necessary conversion.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 30 May 2013 18:47:53 +0000 (18:47 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 30 May 2013 18:47:53 +0000 (18:47 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@29669 0785d39b-7218-0410-832d-ea1e28bc413d

tests/bits/fe_tools_common.h

index 17aca148946b799a6ed81f2cfe9f14e307633116..3cdf6c191d9d6e2d7811d2b3ae998e42463a24dd 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 2003, 2004, 2005, 2006, 2007, 2010 by the deal.II authors
+//    Copyright (C) 2003, 2004, 2005, 2006, 2007, 2010, 2013 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -83,7 +83,7 @@ output_vector (const VECTOR &v)
 
                                    // write out at most 20 equispaced
                                    // elements of the vector
-  for (unsigned int i=0; i<v.size(); i+=std::max(static_cast<std::size_t>(1),
+  for (unsigned int i=0; i<v.size(); i+=std::max(static_cast<typename VECTOR::size_type>(1),
         v.size()/20))
     deallog << v(i) << ' ';
   deallog << std::endl;

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.