From 2b882bd79e46ddd37bb3fd07181e4f46032fe2e1 Mon Sep 17 00:00:00 2001 From: kronbichler Date: Mon, 13 Oct 2008 09:35:30 +0000 Subject: [PATCH] Fixed an error that occurred for Trilinos 9.0.0 but not 8.0.8 git-svn-id: https://svn.dealii.org/trunk@17189 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/source/trilinos_precondition_block.cc | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/deal.II/lac/source/trilinos_precondition_block.cc b/deal.II/lac/source/trilinos_precondition_block.cc index 433a891a78..fe1c8a72fd 100755 --- a/deal.II/lac/source/trilinos_precondition_block.cc +++ b/deal.II/lac/source/trilinos_precondition_block.cc @@ -61,8 +61,7 @@ namespace TrilinosWrappers // (Thyra wrapper around the // matrix). Teuchos::RCP > tmpM = - Teuchos::rcp(new Thyra::EpetraLinearOp(Teuchos::rcp(&*input_M.matrix, - false))); + Thyra::epetraLinearOp(Teuchos::rcp(&*input_M.matrix, false)); Teuchos::RCP > M = Teuchos::rcp(new Thyra::DefaultLinearOpSource(tmpM), true); @@ -72,11 +71,11 @@ namespace TrilinosWrappers // Create a Thyra version of // the preconditioner. Teuchos::RCP > tmpP = - Teuchos::rcp(new Thyra::EpetraLinearOp(Teuchos::rcp(const_cast(input_P), - false), - Thyra::NOTRANS, - Thyra::EPETRA_OP_APPLY_APPLY_INVERSE, - Thyra::EPETRA_OP_ADJOINT_SUPPORTED)); + Thyra::epetraLinearOp(Teuchos::rcp(const_cast(input_P), + false), + Thyra::NOTRANS, + Thyra::EPETRA_OP_APPLY_APPLY_INVERSE, + Thyra::EPETRA_OP_ADJOINT_SUPPORTED); //Thyra::ConstLinearOperator opPM = tmpP; -- 2.39.5