From: wolf Date: Mon, 12 Apr 2004 16:35:43 +0000 (+0000) Subject: Initialize a variable. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e97f99909876c2bc0fc5c4e69da8928c8aae5de8;p=dealii-svn.git Initialize a variable. git-svn-id: https://svn.dealii.org/trunk@8990 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/petsc_matrix_base.cc b/deal.II/lac/source/petsc_matrix_base.cc index 4819b82aa9..befa69ea7c 100644 --- a/deal.II/lac/source/petsc_matrix_base.cc +++ b/deal.II/lac/source/petsc_matrix_base.cc @@ -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(matrix) != 0) { local_row = this->a_row;