From 1810173f8b026c14f4845fd42584c8f2a80b2e18 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 24 Feb 2017 12:44:12 -0700 Subject: [PATCH] Forward declare two explicit specializations. --- include/deal.II/lac/trilinos_solver.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/include/deal.II/lac/trilinos_solver.h b/include/deal.II/lac/trilinos_solver.h index 71c765d288..7f89c783b8 100644 --- a/include/deal.II/lac/trilinos_solver.h +++ b/include/deal.II/lac/trilinos_solver.h @@ -339,10 +339,21 @@ namespace TrilinosWrappers * Store a copy of the flags for this particular solver. */ const AdditionalData additional_data; - }; + // provide a declaration for two explicit specializations + template <> + void + SolverBase::set_preconditioner(AztecOO &solver, + const PreconditionBase &preconditioner); + + template <> + void + SolverBase::set_preconditioner(AztecOO &solver, + const Epetra_Operator &preconditioner); + + /** * An implementation of the solver interface using the Trilinos CG solver. -- 2.39.5