From 81a55dd5bf65c99e3868b82fc109ff6b365ff860 Mon Sep 17 00:00:00 2001 From: Stefano Zampini Date: Tue, 17 Jan 2023 11:59:13 +0300 Subject: [PATCH] Add missing compress in tests --- tests/lac/linear_operator_09.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/lac/linear_operator_09.cc b/tests/lac/linear_operator_09.cc index 4840b0528d..a2dbd98b36 100644 --- a/tests/lac/linear_operator_09.cc +++ b/tests/lac/linear_operator_09.cc @@ -74,6 +74,8 @@ main(int argc, char *argv[]) u[i] = 1; for (auto i : v.locally_owned_elements()) v[i] = 1; + u.compress(VectorOperation::insert); + v.compress(VectorOperation::insert); op_a.vmult(v, u); } -- 2.39.5