]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix (strange?) compiler warning.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 9 Apr 2001 16:35:12 +0000 (16:35 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 9 Apr 2001 16:35:12 +0000 (16:35 +0000)
git-svn-id: https://svn.dealii.org/trunk@4416 0785d39b-7218-0410-832d-ea1e28bc413d

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

index c8034688159e681cb6ef1cea01491cd1afe63a82..01da5417e07f356fcc335002a14d3a9754cd2b78 100644 (file)
@@ -325,7 +325,7 @@ void KellyErrorEstimator<1>::estimate (const Mapping<1>                    &mapp
              {
                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.