]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove warning about possibly undefined value of #dim#.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 29 Apr 1999 20:38:55 +0000 (20:38 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 29 Apr 1999 20:38:55 +0000 (20:38 +0000)
git-svn-id: https://svn.dealii.org/trunk@1229 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/solver_gmres.h

index 76f138924ea527b4d5dce46121cdb400fa8ee677..b57f16f85196e625e4ef1c598d4c218f8c1e6e84 100644 (file)
@@ -195,7 +195,7 @@ SolverGMRES<Matrix,Vector>::solve (const Matrix& A,
                    h    (n_tmp_vectors-1);
 
 
-  unsigned int dim;
+  unsigned int dim = 0;
 
   SolverControl::State iteration_state = SolverControl::iterate;
   

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.