]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a bug in FE_Face.
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 4 Jan 2022 20:27:37 +0000 (13:27 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 5 Jan 2022 21:06:34 +0000 (14:06 -0700)
source/fe/fe_face.cc

index bed160f792f58244f9ae7d860326cfeb64a7efc9..79c9797f1d75599877623e0a2e0a8949d26aba7e 100644 (file)
@@ -956,7 +956,7 @@ FE_FaceP<dim, spacedim>::get_subface_interpolation_matrix(
           for (unsigned int k = 0; k < face_quadrature.size(); ++k)
             {
               const Point<dim - 1> p =
-                numbers::invalid_unsigned_int != 0u ?
+                subface == numbers::invalid_unsigned_int ?
                   face_quadrature.point(k) :
                   GeometryInfo<dim - 1>::child_to_cell_coordinates(
                     face_quadrature.point(k), subface);

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.