]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Catch an exception by reference.
authorDavid Wells <wellsd2@rpi.edu>
Thu, 16 Mar 2017 22:22:27 +0000 (18:22 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 18 Mar 2017 21:22:02 +0000 (17:22 -0400)
examples/step-32/step-32.cc

index 0dae98879834f6d05484f15feaf8fb3d4127a13e..3a1be1a014abc2a6299042b9d740c655975d142f 100644 (file)
@@ -3010,7 +3010,7 @@ namespace Step32
           n_iterations = solver_control.last_step();
         }
 
-      catch (SolverControl::NoConvergence)
+      catch (SolverControl::NoConvergence &)
         {
           const LinearSolvers::BlockSchurPreconditioner<TrilinosWrappers::PreconditionAMG,
                 TrilinosWrappers::PreconditionJacobi>

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.