]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a PETSc test that doesn't compile. 4336/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 1 May 2017 17:47:01 +0000 (11:47 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 1 May 2017 17:47:01 +0000 (11:47 -0600)
tests/petsc/sparse_direct_mumps.cc

index 217e4d72915c0d1fa8414de0966d3337e99fbbfb..1db9f23a559ac47ef20bb37ffed1a6101f09ef8f 100644 (file)
@@ -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;
   }

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.