]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bugfix, which corrects a wrong parameter order in a call to the
authoroliver <oliver@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 3 May 2004 14:51:52 +0000 (14:51 +0000)
committeroliver <oliver@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 3 May 2004 14:51:52 +0000 (14:51 +0000)
reinit method.

git-svn-id: https://svn.dealii.org/trunk@9145 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/petsc_parallel_vector.h

index 411f1bb8b043c8f716d07e4a949a0d78362b4b48..d74bcefd5e14b19f30134fc158cb36f4a6720ccf 100644 (file)
@@ -395,7 +395,7 @@ namespace PETScWrappers
                                        // if the vectors have different sizes,
                                        // then first resize the present one
       if (size() != v.size())
-        reinit (v.size(), v.local_size(), v.communicator, true);
+        reinit (v.communicator, v.size(), v.local_size(), true);
     
       const int ierr = VecCopy (v.vector, vector);
       AssertThrow (ierr == 0, ExcPETScError(ierr));

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.