]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
go back to unsigned int in one place
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 1 Apr 2013 23:16:02 +0000 (23:16 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 1 Apr 2013 23:16:02 +0000 (23:16 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@29136 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/numerics/vector_tools.templates.h

index 05e5292e0a60b9423a9207f0f79f6f613ff39e7e..8700af9de41f77b5f80c2b9bc5530888318f26d2 100644 (file)
@@ -2609,7 +2609,7 @@ namespace VectorTools
       // vector t is largest by
       // magnitude, then
       // x1=t[1]/t[0]*x_0, etc.
-      types::global_dof_index largest_component = 0;
+      unsigned int largest_component = 0;
       for (unsigned int d=1; d<dim; ++d)
         if (std::fabs(tangent_vector[d]) > std::fabs(tangent_vector[largest_component]) + 1e-10)
           largest_component = d;

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.