]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix 64 bit bug
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 19 Jan 2014 20:59:03 +0000 (20:59 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 19 Jan 2014 20:59:03 +0000 (20:59 +0000)
git-svn-id: https://svn.dealii.org/trunk@32256 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/lac/trilinos_sparse_matrix.cc

index bf5a0840feee3ec9c56bbd1538a575dce75a651b..d8bea39f0ec460b9054c5309329fbd9e002424b8 100644 (file)
@@ -717,7 +717,8 @@ namespace TrilinosWrappers
             nonlocal_graph->RowMap().NumMyElements() > 0)
           {
             // insert dummy element
-            TrilinosWrappers::types::int_type row = nonlocal_graph->RowMap().MyGID(0);
+            TrilinosWrappers::types::int_type row =
+              nonlocal_graph->RowMap().MyGID(TrilinosWrappers::types::int_type(0));
             nonlocal_graph->InsertGlobalIndices(row, 1, &row);
           }
         Assert(nonlocal_graph->IndicesAreGlobal() == true,

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.