From: Martin 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-Tag: v8.0.0~4224 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43609fa8ba46cfebf97fb04c6ccd0062c68b4b01;p=dealii.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