From 06bf6df75a9628e3dd135e926cd0bcd14867ceb1 Mon Sep 17 00:00:00 2001 From: kronbichler Date: Sun, 19 Jan 2014 20:59:03 +0000 Subject: [PATCH] Fix 64 bit bug git-svn-id: https://svn.dealii.org/trunk@32256 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/lac/trilinos_sparse_matrix.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deal.II/source/lac/trilinos_sparse_matrix.cc b/deal.II/source/lac/trilinos_sparse_matrix.cc index bf5a0840fe..d8bea39f0e 100644 --- a/deal.II/source/lac/trilinos_sparse_matrix.cc +++ b/deal.II/source/lac/trilinos_sparse_matrix.cc @@ -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, -- 2.39.5