From: Wolfgang Bangerth Date: Mon, 1 May 2017 17:47:01 +0000 (-0600) Subject: Fix a PETSc test that doesn't compile. X-Git-Tag: v9.0.0-rc1~1631^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe459b39b9fee00cacbf88087efac182beab6911;p=dealii.git Fix a PETSc test that doesn't compile. --- 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; }