]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Initialize a variable.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 12 Apr 2004 16:35:43 +0000 (16:35 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 12 Apr 2004 16:35:43 +0000 (16:35 +0000)
git-svn-id: https://svn.dealii.org/trunk@8990 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/petsc_matrix_base.cc

index 4819b82aa92087b334bb6b7f102ba98efbd31606..befa69ea7ce7b36847b9a4131fe1d02dc3bde478 100644 (file)
@@ -47,7 +47,7 @@ namespace PETScWrappers
                                        // relative to the rows this process
                                        // actually stores (remember that
                                        // matrices can be distributed)
-      signed int local_row;
+      signed int local_row = -1;
       if (dynamic_cast<const PETScWrappers::SparseMatrix *>(matrix) != 0)
         {
           local_row = this->a_row;

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.