From: Jean-Paul Pelteret Date: Sun, 5 May 2019 15:42:39 +0000 (+0200) Subject: Fix a broken templated function X-Git-Tag: v9.1.0-rc1~71^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6d2d50267dd02027f6d893af96d8ad0b186db36;p=dealii.git Fix a broken templated function --- diff --git a/include/deal.II/differentiation/sd/symengine_scalar_operations.h b/include/deal.II/differentiation/sd/symengine_scalar_operations.h index 1c0eb42d5a..02c581c0dc 100644 --- a/include/deal.II/differentiation/sd/symengine_scalar_operations.h +++ b/include/deal.II/differentiation/sd/symengine_scalar_operations.h @@ -183,7 +183,13 @@ namespace Differentiation * to simplify the final substitution map by resolving all explicit * interdependencies between entries in the substitution map. */ - template + template &>::value && + std::is_constructible::value>::type> types::substitution_map make_substitution_map(const ExpressionType &symbol, const ValueType &value); @@ -608,9 +614,9 @@ namespace Differentiation /* ---------------- Symbolic substitution map creation --------------*/ - template + template types::substitution_map - make_substitution_map(const Expression &symbol, const ValueType &value) + make_substitution_map(const ExpressionType &symbol, const ValueType &value) { types::substitution_map substitution_map; add_to_substitution_map(substitution_map, symbol, value);