From: kronbichler Date: Fri, 29 Oct 2010 12:13:46 +0000 (+0000) Subject: Fix compilation with Petsc 3.1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f32c2348b48217c32a73a22f1b424334dbf61e81;p=dealii-svn.git Fix compilation with Petsc 3.1 git-svn-id: https://svn.dealii.org/trunk@22550 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-40/step-40.cc b/deal.II/examples/step-40/step-40.cc index b94923467c..1b7d5d9e74 100644 --- a/deal.II/examples/step-40/step-40.cc +++ b/deal.II/examples/step-40/step-40.cc @@ -361,7 +361,7 @@ int main(int argc, char *argv[]) { try { - PetscInitialize(&argc, &argv); + PetscInitialize(&argc, &argv, PETSC_NULL, PETSC_NULL); deallog.depth_console (0); int refine=5;