From fe459b39b9fee00cacbf88087efac182beab6911 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 1 May 2017 11:47:01 -0600 Subject: [PATCH] Fix a PETSc test that doesn't compile. --- tests/petsc/sparse_direct_mumps.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/petsc/sparse_direct_mumps.cc b/tests/petsc/sparse_direct_mumps.cc index 217e4d7291..1db9f23a55 100644 --- a/tests/petsc/sparse_direct_mumps.cc +++ b/tests/petsc/sparse_direct_mumps.cc @@ -65,7 +65,7 @@ int main(int argc, char **argv) // solver.set_symmetric_mode(true); solver.solve(A,u,f); - PETScWrappers::MPI::Vector tmp(dim); + PETScWrappers::MPI::Vector tmp(indices, MPI_COMM_WORLD); deallog << "residual = " << A.residual (tmp, u, f) << std::endl; } -- 2.39.5