]> https://gitweb.dealii.org/ - dealii.git/commitdiff
lac/parpack_solver: add missing compress() operation 15446/head
authorMatthias Maier <tamiko@43-1.org>
Fri, 23 Jun 2023 04:00:42 +0000 (23:00 -0500)
committerMatthias Maier <tamiko@43-1.org>
Fri, 23 Jun 2023 04:00:42 +0000 (23:00 -0500)
include/deal.II/lac/parpack_solver.h

index fc617c939e415d0bd4aa55fe3e1f4bc75e4c3395..b9e264990214b1c408d657d365ab506c548079b0 100644 (file)
@@ -1148,6 +1148,7 @@ PArpackSolver<VectorType>::solve(const MatrixType1 &system_matrix,
   {
     tmp = 0.0;
     tmp.add(nloc, local_indices.data(), resid.data());
+    tmp.compress(VectorOperation::add);
     solver_control.check(iparam[2], tmp.l2_norm());
   }
 }

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.