From: Jean-Paul Pelteret Date: Sat, 27 Apr 2019 17:02:44 +0000 (+0200) Subject: Change function signature to use a template argument X-Git-Tag: v9.1.0-rc1~149^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=004ee364546603201e3e7698d5709944cbeb12c3;p=dealii.git Change function signature to use a template argument --- diff --git a/include/deal.II/differentiation/sd/symengine_scalar_operations.h b/include/deal.II/differentiation/sd/symengine_scalar_operations.h index 586e877147..9a68ea1ecc 100644 --- a/include/deal.II/differentiation/sd/symengine_scalar_operations.h +++ b/include/deal.II/differentiation/sd/symengine_scalar_operations.h @@ -287,9 +287,9 @@ namespace Differentiation const SE::RCP &>::value && std::is_constructible::value>::type> void - add_to_substitution_map(types::substitution_map & substitution_map, - const types::symbol_vector & symbols, - const std::vector &values); + add_to_substitution_map(types::substitution_map & substitution_map, + const std::vector &symbols, + const std::vector & values); /** * A convenience function for adding multiple entries to the @@ -559,14 +559,15 @@ namespace Differentiation static_cast(ExpressionType(value))); } + template void - add_to_substitution_map(types::substitution_map & substitution_map, - const types::symbol_vector & symbols, - const std::vector &values) + add_to_substitution_map(types::substitution_map & substitution_map, + const std::vector &symbols, + const std::vector & values) { Assert(symbols.size() == values.size(), ExcMessage(