From 21b1a218c34c254a8ad2b50264ab5dcfc504e160 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 22 Jun 2023 23:00:42 -0500 Subject: [PATCH] lac/parpack_solver: add missing compress() operation --- include/deal.II/lac/parpack_solver.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/deal.II/lac/parpack_solver.h b/include/deal.II/lac/parpack_solver.h index fc617c939e..b9e2649902 100644 --- a/include/deal.II/lac/parpack_solver.h +++ b/include/deal.II/lac/parpack_solver.h @@ -1148,6 +1148,7 @@ PArpackSolver::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()); } } -- 2.39.5