From 486a7f8447d8bb215e839dde11a6af04b2abb595 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 24 Nov 2015 08:37:58 -0600 Subject: [PATCH] Fix error messages. 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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/grid/tria.cc b/source/grid/tria.cc index 8ace37f5b3..ec95159c5c 100644 --- a/source/grid/tria.cc +++ b/source/grid/tria.cc @@ -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 -- 2.39.5