]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Forgot to disable Trilinos and PETSc in case we do not use them.
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 15 Mar 2011 07:43:30 +0000 (07:43 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 15 Mar 2011 07:43:30 +0000 (07:43 +0000)
git-svn-id: https://svn.dealii.org/trunk@23478 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/lac/constraint_matrix.cc

index b07a2a973b19db129da0e839828c254e62908db4..b2fd66c089cba563339a6f6ba8523a8c23e7449a 100644 (file)
@@ -2466,11 +2466,17 @@ ONLY_MATRIX_FUNCTIONS(SparseMatrix<float>);
 ONLY_MATRIX_FUNCTIONS(SparseMatrix<double>);
 ONLY_MATRIX_FUNCTIONS(MatrixBlock<SparseMatrix<float> >);
 ONLY_MATRIX_FUNCTIONS(MatrixBlock<SparseMatrix<double> >);
+
+#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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.