From 9355336be7b1e71c7b84430ddb0eb3bcc698d6d2 Mon Sep 17 00:00:00 2001 From: Lei Qiao Date: Wed, 29 Jul 2015 12:06:01 -0500 Subject: [PATCH] avoid using deprecated trilinos wrapper in step-33. --- examples/step-33/step-33.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/step-33/step-33.cc b/examples/step-33/step-33.cc index 21ae69b6b1..a807803b7e 100644 --- a/examples/step-33/step-33.cc +++ b/examples/step-33/step-33.cc @@ -2146,9 +2146,9 @@ namespace Step33 // const_cast. case Parameters::Solver::gmres: { - Epetra_Vector x(View, system_matrix.domain_partitioner(), + Epetra_Vector x(View, system_matrix.trilinos_matrix().DomainMap(), newton_update.begin()); - Epetra_Vector b(View, system_matrix.range_partitioner(), + Epetra_Vector b(View, system_matrix.trilinos_matrix().RangeMap(), right_hand_side.begin()); AztecOO solver; -- 2.39.5