From c988a73bc5ad6b56e028c9a7b4aad95870411992 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 21 Jun 2023 09:44:51 -0600 Subject: [PATCH] Minor adjustment to versions of step-77 in the test suite. --- tests/numerics/nonlinear_solver_selector_01.cc | 2 +- tests/numerics/nonlinear_solver_selector_03.cc | 2 +- tests/petsc/step-77-snes.cc | 2 +- tests/sundials/step-77.cc | 2 +- tests/trilinos/step-77-with-nox.cc | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/numerics/nonlinear_solver_selector_01.cc b/tests/numerics/nonlinear_solver_selector_01.cc index 958cf1aa38..f858e0f4c0 100644 --- a/tests/numerics/nonlinear_solver_selector_01.cc +++ b/tests/numerics/nonlinear_solver_selector_01.cc @@ -378,7 +378,7 @@ namespace nonlinear_solver_selector_test nonlinear_solver.solve_with_jacobian = [&](const Vector &rhs, Vector & dst, const double tolerance) { - this->solve(rhs, dst, tolerance); + solve(rhs, dst, tolerance); }; nonlinear_solver.solve(current_solution); diff --git a/tests/numerics/nonlinear_solver_selector_03.cc b/tests/numerics/nonlinear_solver_selector_03.cc index 1968ca6171..fe0d66b2c1 100644 --- a/tests/numerics/nonlinear_solver_selector_03.cc +++ b/tests/numerics/nonlinear_solver_selector_03.cc @@ -460,7 +460,7 @@ namespace MPI_nonlinear_solver_selector_test nonlinear_solver.solve_with_jacobian = [&](const LA::MPI::Vector &rhs, LA::MPI::Vector & dst, const double tolerance) { - this->solve(rhs, dst, tolerance); + solve(rhs, dst, tolerance); }; nonlinear_solver.solve(current_solution); diff --git a/tests/petsc/step-77-snes.cc b/tests/petsc/step-77-snes.cc index 619f318304..94b6acfc59 100644 --- a/tests/petsc/step-77-snes.cc +++ b/tests/petsc/step-77-snes.cc @@ -546,7 +546,7 @@ namespace Step77 // system. nonlinear_solver.solve_with_jacobian = [&](const VectorType &rhs, VectorType &dst) { - this->solve(rhs, dst); + solve(rhs, dst); return 0; }; diff --git a/tests/sundials/step-77.cc b/tests/sundials/step-77.cc index 3706e823e0..51a9ed0049 100644 --- a/tests/sundials/step-77.cc +++ b/tests/sundials/step-77.cc @@ -437,7 +437,7 @@ namespace Step77 nonlinear_solver.solve_with_jacobian = [&](const Vector &rhs, Vector & dst, const double tolerance) { - this->solve(rhs, dst, tolerance); + solve(rhs, dst, tolerance); }; nonlinear_solver.solve(current_solution); diff --git a/tests/trilinos/step-77-with-nox.cc b/tests/trilinos/step-77-with-nox.cc index cd21cb3e73..3d5c77f271 100644 --- a/tests/trilinos/step-77-with-nox.cc +++ b/tests/trilinos/step-77-with-nox.cc @@ -442,7 +442,7 @@ namespace Step77 nonlinear_solver.solve_with_jacobian = [&](const Vector &rhs, Vector & dst, const double tolerance) { - this->solve(rhs, dst, tolerance); + solve(rhs, dst, tolerance); }; nonlinear_solver.solve(current_solution); -- 2.39.5