]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix (strange?) compiler warning.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 9 Apr 2001 16:36:46 +0000 (16:36 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 9 Apr 2001 16:36:46 +0000 (16:36 +0000)
git-svn-id: https://svn.dealii.org/branches/Branch-3-1@4417 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/error_estimator.cc

index d635e607873e210c47fe152fca75fe2b1a2930cd..3241982d0a7fa5fd7e9d406788ff4de40fcb89db 100644 (file)
@@ -305,7 +305,7 @@ void KellyErrorEstimator<1>::estimate (const DoFHandler<1>                 &dof_
              {
                if (n_components==1)
                  {
-                   double v;
+                   double v=0;
                    neumann_bc.find(n)->second->value(cell->vertex(0), v);
                    
                    for (unsigned int s=0; s<n_solution_vectors; ++s)

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.