From 5d2d1c41df0a86ad2d62839a1758b2d9503a696d Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Wed, 29 Jul 2015 13:02:01 -0400 Subject: [PATCH] fix: avoid Epetra_Map in Trilinos interface use DomainMap instead of ColMap. --- source/lac/trilinos_sparse_matrix.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5