]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Initialize one variable to zero to eliminate a compiler/profiler warning on some...
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 2 Mar 2011 17:04:59 +0000 (17:04 +0000)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 2 Mar 2011 17:04:59 +0000 (17:04 +0000)
git-svn-id: https://svn.dealii.org/trunk@23455 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/sparse_ilu.templates.h

index 190c1f9cc1f46f6e2342eae518289f44810f0599..9d870d7b3ffe1efe3c04086ec4058a6b0150ac9e 100644 (file)
@@ -79,7 +79,7 @@ void SparseILU<number>::decompose (const SparseMatrix<somenumber> &matrix,
   number * luval = this->SparseMatrix<number>::val;
 
   const unsigned int N = this->m();
-  unsigned int jrow;
+  unsigned int jrow = 0;
   
   std::vector<unsigned int> iw (N, numbers::invalid_unsigned_int);
   

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.