From 12693faf1dd301fd3927bb13053706ed593b8a2a Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Mon, 14 Sep 2015 15:53:16 -0400 Subject: [PATCH] fix compilation of step-33 This is related to the Solver*::AdditionalData constructor change now requiring explicitly instantiating the object. --- examples/step-33/step-33.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/step-33/step-33.cc b/examples/step-33/step-33.cc index 821943bf9f..a5d94d5130 100644 --- a/examples/step-33/step-33.cc +++ b/examples/step-33/step-33.cc @@ -2109,9 +2109,9 @@ namespace Step33 case Parameters::Solver::direct: { SolverControl solver_control (1,0); - TrilinosWrappers::SolverDirect direct (solver_control, - parameters.output == - Parameters::Solver::verbose); + TrilinosWrappers::SolverDirect::AdditionalData data ( + parameters.output == Parameters::Solver::verbose); + TrilinosWrappers::SolverDirect direct (solver_control, data); direct.solve (system_matrix, newton_update, right_hand_side); -- 2.39.5