]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix bug in tensorized MappingQGeneric 4759/head
authorTimo Heister <timo.heister@gmail.com>
Wed, 9 Aug 2017 23:25:49 +0000 (19:25 -0400)
committerTimo Heister <timo.heister@gmail.com>
Wed, 9 Aug 2017 23:25:49 +0000 (19:25 -0400)
logical fix for #4664

source/fe/mapping_q_generic.cc

index f95378bea4f41ae3e9859ffa6e0f5d996d2a5c4c..6f182cb25e983474e25e105a72e0839558acb827 100644 (file)
@@ -712,8 +712,11 @@ initialize (const UpdateFlags      update_flags,
                     {
                       if (std::abs(points_1[j][0]-points_2[j][0])>1.e-10
                           || std::abs(weights_1[j]-weights_2[j])>1.e-10)
-                        tensor_product_quadrature = false;
-                      break;
+                        {
+                          tensor_product_quadrature = false;
+                          break;
+                        }
+
                     }
                 }
             }

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.