From f1da2ac03c328a32f6fe77e17c0dc9cfbee1eb39 Mon Sep 17 00:00:00 2001 From: Niklas Fehn Date: Wed, 18 Mar 2020 09:00:55 +0100 Subject: [PATCH] change declarations --- include/deal.II/grid/grid_generator.h | 9 ++++----- source/grid/grid_generator.inst.in | 5 ++--- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/include/deal.II/grid/grid_generator.h b/include/deal.II/grid/grid_generator.h index a9cf8ac42c..c9e9dd6974 100644 --- a/include/deal.II/grid/grid_generator.h +++ b/include/deal.II/grid/grid_generator.h @@ -1547,11 +1547,10 @@ namespace GridGenerator template void merge_triangulations( - const std::initializer_list *const> - & triangulations, - Triangulation &result, - const double duplicated_vertex_tolerance = 1.0e-12, - const bool copy_manifold_ids = false); + const std::vector *> &triangulations, + Triangulation & result, + const double duplicated_vertex_tolerance = 1.0e-12, + const bool copy_manifold_ids = false); /** * \brief Replicate a given triangulation in multiple coordinate axes diff --git a/source/grid/grid_generator.inst.in b/source/grid/grid_generator.inst.in index 0e6c15512d..d350c01c4e 100644 --- a/source/grid/grid_generator.inst.in +++ b/source/grid/grid_generator.inst.in @@ -80,9 +80,8 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS) template void merge_triangulations( - const std::initializer_list< - const Triangulation - *const> &, + const std::vector< + const Triangulation *> &, Triangulation &, const double, const bool); -- 2.39.5