]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Do not capture 'this' where not necessary. 18521/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 30 May 2025 17:13:38 +0000 (11:13 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 30 May 2025 17:13:52 +0000 (11:13 -0600)
include/deal.II/lac/solver_gmres.h

index 29c92e61e9c1d13e6dc6468cb6747672f3970fec..337d8751e053f9db16416cb8f2cf595878c915cb 100644 (file)
@@ -2293,8 +2293,7 @@ void SolverMPGMRES<VectorType>::solve_internal(
   // Krylov space sequence according to the chosen indexing strategy
 
   const auto previous_vector_index =
-    [this, n_preconditioners, indexing_strategy](
-      unsigned int i) -> unsigned int {
+    [n_preconditioners, indexing_strategy](unsigned int i) -> unsigned int {
     // In the special case of no preconditioners we simply fall back to the
     // FGMRES indexing strategy.
     if (n_preconditioners == 0)

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.