From dc97c99cc0f61f024d47c1ac002606995a2a5630 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sun, 19 Mar 2017 15:28:08 -0600 Subject: [PATCH] Improve the wording of an exception. --- include/deal.II/grid/grid_generator.h | 2 +- source/grid/grid_generator.cc | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/include/deal.II/grid/grid_generator.h b/include/deal.II/grid/grid_generator.h index c01be97c84..f3f33995f1 100644 --- a/include/deal.II/grid/grid_generator.h +++ b/include/deal.II/grid/grid_generator.h @@ -1207,7 +1207,7 @@ namespace GridGenerator DeclException1 (ExcInvalidRepetitionsDimension, int, << "The vector of repetitions must have " - << arg1 <<" elements."); + << arg1 << " elements."); /** * Exception for input that is not properly oriented. diff --git a/source/grid/grid_generator.cc b/source/grid/grid_generator.cc index 663bfacb52..18bf421b30 100644 --- a/source/grid/grid_generator.cc +++ b/source/grid/grid_generator.cc @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 1999 - 2016 by the deal.II authors +// Copyright (C) 1999 - 2017 by the deal.II authors // // This file is part of the deal.II library. // @@ -1310,7 +1310,10 @@ namespace GridGenerator for (unsigned int j=0; j