]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix compiler warning
authorTimo Heister <timo.heister@gmail.com>
Thu, 21 Nov 2013 22:17:34 +0000 (22:17 +0000)
committerTimo Heister <timo.heister@gmail.com>
Thu, 21 Nov 2013 22:17:34 +0000 (22:17 +0000)
git-svn-id: https://svn.dealii.org/trunk@31753 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/fe/mapping_q1.cc

index e8f7ec4dd58ef3072f8572aa5587150544e7d423..5f53d1be59d465fbba7fcf330a0623ab7a5a29de 100644 (file)
@@ -1742,8 +1742,8 @@ transform_real_to_unit_cell_internal
   const double eps = 1.e-11;
   const unsigned int newton_iteration_limit = 20;
 
-  unsigned int newton_iteration=0;
-  double last_f_weighted_norm = -1./0.;
+  unsigned int newton_iteration = 0;
+  double last_f_weighted_norm;
   do
     {
 #ifdef DEBUG_TRANSFORM_REAL_TO_UNIT_CELL

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.