]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove second reinit statement 16744/head
authorMartin Kronbichler <martin.kronbichler@rub.de>
Mon, 11 Mar 2024 14:51:52 +0000 (15:51 +0100)
committerMartin Kronbichler <martin.kronbichler@rub.de>
Mon, 11 Mar 2024 14:51:52 +0000 (15:51 +0100)
include/deal.II/lac/solver_gmres.h

index 19414566757bf91e8db1f2c1259a4588c64692ab..f722f144b4c53ca80222b02dbb161768e9e6f9df 100644 (file)
@@ -1367,8 +1367,6 @@ SolverGMRES<VectorType>::solve(const MatrixType         &A,
     }
 
   bool re_orthogonalize = additional_data.force_re_orthogonalization;
-  // reset this vector to the right size
-  h.reinit(n_tmp_vectors - 1);
 
   ///////////////////////////////////////////////////////////////////////////
   // outer iteration: loop until we either reach convergence or the maximum

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.