From 3a3562b8470a92234d987097c28ff498e2030a8c Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Tue, 11 Sep 2018 01:33:51 +0200 Subject: [PATCH] Allow TrilinosWrappers::SparseMatrix::mmult for 64-bit indices --- source/lac/trilinos_sparse_matrix.cc | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/source/lac/trilinos_sparse_matrix.cc b/source/lac/trilinos_sparse_matrix.cc index a28803efad..d4e01cea70 100644 --- a/source/lac/trilinos_sparse_matrix.cc +++ b/source/lac/trilinos_sparse_matrix.cc @@ -2240,10 +2240,7 @@ namespace TrilinosWrappers const MPI::Vector & V, const bool transpose_left) { -# ifdef DEAL_II_WITH_64BIT_INDICES - Assert(false, ExcNotImplemented()) -# endif - const bool use_vector = (V.size() == inputright.m() ? true : false); + const bool use_vector = (V.size() == inputright.m() ? true : false); if (transpose_left == false) { Assert(inputleft.n() == inputright.m(), @@ -2329,10 +2326,7 @@ namespace TrilinosWrappers const SparseMatrix &B, const MPI::Vector & V) const { -# ifdef DEAL_II_WITH_64BIT_INDICES - Assert(false, ExcNotImplemented()) -# endif - internals::perform_mmult(*this, B, C, V, false); + internals::perform_mmult(*this, B, C, V, false); } @@ -2342,10 +2336,7 @@ namespace TrilinosWrappers const SparseMatrix &B, const MPI::Vector & V) const { -# ifdef DEAL_II_WITH_64BIT_INDICES - Assert(false, ExcNotImplemented()) -# endif - internals::perform_mmult(*this, B, C, V, true); + internals::perform_mmult(*this, B, C, V, true); } -- 2.39.5