From: Wolfgang Bangerth Date: Fri, 24 Feb 2017 19:44:12 +0000 (-0700) Subject: Forward declare two explicit specializations. X-Git-Tag: v8.5.0-rc1~95^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4004%2Fhead;p=dealii.git Forward declare two explicit specializations. --- 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.