From 004ee364546603201e3e7698d5709944cbeb12c3 Mon Sep 17 00:00:00 2001 From: Jean-Paul Pelteret Date: Sat, 27 Apr 2019 19:02:44 +0200 Subject: [PATCH] Change function signature to use a template argument --- .../sd/symengine_scalar_operations.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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( -- 2.39.5