From: Timo Heister Date: Wed, 29 Jul 2015 17:02:01 +0000 (-0400) Subject: fix: avoid Epetra_Map in Trilinos interface X-Git-Tag: v8.4.0-rc2~705^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d2d1c41df0a86ad2d62839a1758b2d9503a696d;p=dealii.git fix: avoid Epetra_Map in Trilinos interface use DomainMap instead of ColMap. --- diff --git a/source/lac/trilinos_sparse_matrix.cc b/source/lac/trilinos_sparse_matrix.cc index 63f27345bd..ad37744605 100644 --- a/source/lac/trilinos_sparse_matrix.cc +++ b/source/lac/trilinos_sparse_matrix.cc @@ -1974,7 +1974,7 @@ namespace TrilinosWrappers TrilinosScalar SparseMatrix::matrix_norm_square (const VectorBase &v) const { - Assert (matrix->RowMap().SameAs(matrix->ColMap()), + Assert (matrix->RowMap().SameAs(matrix->DomainMap()), ExcNotQuadratic()); VectorBase temp_vector; @@ -1990,7 +1990,7 @@ namespace TrilinosWrappers SparseMatrix::matrix_scalar_product (const VectorBase &u, const VectorBase &v) const { - Assert (matrix->RowMap().SameAs(matrix->ColMap()), + Assert (matrix->RowMap().SameAs(matrix->DomainMap()), ExcNotQuadratic()); VectorBase temp_vector;