From: kronbichler Date: Tue, 15 Mar 2011 07:43:30 +0000 (+0000) Subject: Forgot to disable Trilinos and PETSc in case we do not use them. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67c4d76c23b15c14e4fb771f103ca1d7f45c31e8;p=dealii-svn.git Forgot to disable Trilinos and PETSc in case we do not use them. git-svn-id: https://svn.dealii.org/trunk@23478 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/lac/constraint_matrix.cc b/deal.II/source/lac/constraint_matrix.cc index b07a2a973b..b2fd66c089 100644 --- a/deal.II/source/lac/constraint_matrix.cc +++ b/deal.II/source/lac/constraint_matrix.cc @@ -2466,11 +2466,17 @@ ONLY_MATRIX_FUNCTIONS(SparseMatrix); ONLY_MATRIX_FUNCTIONS(SparseMatrix); ONLY_MATRIX_FUNCTIONS(MatrixBlock >); ONLY_MATRIX_FUNCTIONS(MatrixBlock >); + +#ifdef DEAL_II_USE_TRILINOS ONLY_MATRIX_FUNCTIONS(TrilinosWrappers::SparseMatrix); ONLY_MATRIX_FUNCTIONS(TrilinosWrappers::BlockSparseMatrix); +#endif + +#ifdef DEAL_II_USE_PETSC ONLY_MATRIX_FUNCTIONS(PETScWrappers::SparseMatrix); ONLY_MATRIX_FUNCTIONS(PETScWrappers::BlockSparseMatrix); ONLY_MATRIX_FUNCTIONS(PETScWrappers::MPI::SparseMatrix); ONLY_MATRIX_FUNCTIONS(PETScWrappers::MPI::BlockSparseMatrix); +#endif DEAL_II_NAMESPACE_CLOSE