From c33ab65487251ccd292da694114a44a66c3401a4 Mon Sep 17 00:00:00 2001 From: David Wells Date: Thu, 16 Mar 2017 18:22:27 -0400 Subject: [PATCH] Catch an exception by reference. --- examples/step-32/step-32.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/step-32/step-32.cc b/examples/step-32/step-32.cc index 0dae988798..3a1be1a014 100644 --- a/examples/step-32/step-32.cc +++ b/examples/step-32/step-32.cc @@ -3010,7 +3010,7 @@ namespace Step32 n_iterations = solver_control.last_step(); } - catch (SolverControl::NoConvergence) + catch (SolverControl::NoConvergence &) { const LinearSolvers::BlockSchurPreconditioner -- 2.39.5