From bec103c44a76de36f9a594f75ebad5050778070d Mon Sep 17 00:00:00 2001 From: Vachan Potluri Date: Wed, 31 Mar 2021 13:03:44 +0530 Subject: [PATCH] Fix mistake in parameter description "repetitions" here is an integer unlike in subdivided_hyper_rectangle() --- include/deal.II/grid/grid_generator.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/deal.II/grid/grid_generator.h b/include/deal.II/grid/grid_generator.h index 8e641c20ea..48e4f32569 100644 --- a/include/deal.II/grid/grid_generator.h +++ b/include/deal.II/grid/grid_generator.h @@ -157,10 +157,8 @@ namespace GridGenerator * @param tria The triangulation to create. It needs to be empty upon * calling this function. * - * @param repetitions A vector of @p dim positive values denoting the number - * of cells to generate in that direction. For example, the first component of - * the vector specifies the number of cells in the x-direction, the second - * component specifies that for the y-direction for dim=2. + * @param repetitions An unsigned integer denoting the number of cells to + * generate in each direction. * * @param left Lower bound for the interval used to create the hyper cube. * -- 2.39.5