]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix error messages. 1906/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 24 Nov 2015 14:37:58 +0000 (08:37 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 24 Nov 2015 14:37:58 +0000 (08:37 -0600)
There was a space  missing in a couple of places, but more importantly we cannot
directly output objects of type types::boundary_id (==char). They need to be cast
to integers to yield something useful.

source/grid/tria.cc

index 8ace37f5b3252a550fa72d41581f5510fec2d18f..ec95159c5c5d3f6aca9d094e9f7324154e14f12a 100644 (file)
@@ -994,8 +994,8 @@ namespace internal
                     << "The input data for creating a triangulation contained "
                     << "information about a line with indices "
                     << arg1 << " and " << arg2
-                    << "that is supposed to have boundary indicator "
-                    << arg3
+                    << " that is described to have boundary indicator "
+                    << (int)arg3
                     << ". However, this is an internal line not located on the "
                     << "boundary. You cannot assign a boundary indicator to it."
                     << std::endl
@@ -1025,8 +1025,8 @@ namespace internal
                     << "The input data for creating a triangulation contained "
                     << "information about a quad with indices "
                     << arg1 << ", " << arg2 << ", " << arg3 << ", and " << arg4
-                    << "that is supposed to have boundary indicator "
-                    << arg5
+                    << " that is described to have boundary indicator "
+                    << (int)arg5
                     << ". However, this is an internal quad not located on the "
                     << "boundary. You cannot assign a boundary indicator to it."
                     << std::endl

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.