]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix compilation with Petsc 3.1
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 29 Oct 2010 12:13:46 +0000 (12:13 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 29 Oct 2010 12:13:46 +0000 (12:13 +0000)
git-svn-id: https://svn.dealii.org/trunk@22550 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-40/step-40.cc

index b94923467cb2ebdf63d2078a7047dbe7e1af6a57..1b7d5d9e74ad258f550d9255b181aea285b5c704 100644 (file)
@@ -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;

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.