]> https://gitweb.dealii.org/ - dealii.git/commitdiff
make 64bit compatible 5014/head
authorTimo Heister <timo.heister@gmail.com>
Tue, 5 Sep 2017 14:23:45 +0000 (10:23 -0400)
committerTimo Heister <timo.heister@gmail.com>
Tue, 5 Sep 2017 14:23:45 +0000 (10:23 -0400)
source/lac/trilinos_vector.cc

index 1e731a0143d04ab95b17a60b72a35305c96fa0b0..bcdcbbf52c154bbdcc037203ee711f84e054a674 100644 (file)
@@ -772,7 +772,7 @@ namespace TrilinosWrappers
         {
           auto global_id = [&] (const size_type index)
           {
-            return vector->Map().GID(static_cast<TrilinosWrappers::types::int_type>(index));
+            return gid(vector->Map(), static_cast<TrilinosWrappers::types::int_type>(index));
           };
           out << "size:" << size() << " local_size:" << local_size() << " :" << std::endl;
           for (size_type i=0; i<local_size(); ++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.