]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use correct template parameter name in set_value_in_symbol_map()
authorJean-Paul Pelteret <jppelteret@gmail.com>
Sat, 11 May 2019 19:53:04 +0000 (21:53 +0200)
committerJean-Paul Pelteret <jppelteret@gmail.com>
Sat, 11 May 2019 19:53:04 +0000 (21:53 +0200)
include/deal.II/differentiation/sd/symengine_scalar_operations.h

index 668db12fa8b0a52e7b9e84ea126618d45148608d..904195afe8f9926a37120e04701667a0f481d3d3 100644 (file)
@@ -1303,10 +1303,10 @@ namespace Differentiation
     }
 
 
-    template <typename ExpressionType, typename ValueType, typename>
+    template <typename SymbolicType, typename ValueType, typename>
     void
     set_value_in_symbol_map(types::substitution_map &substitution_map,
-                            const ExpressionType &   symbol,
+                            const SymbolicType &     symbol,
                             const ValueType &        value)
     {
       // Call the above function
@@ -1314,7 +1314,7 @@ namespace Differentiation
       internal::set_value_in_symbol_map(substitution_map,
                                         static_cast<SE_RCP_Basic>(symbol),
                                         static_cast<SE_RCP_Basic>(
-                                          ExpressionType(value)));
+                                          SymbolicType(value)));
     }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.