aboutsummaryrefslogtreecommitdiffstats
path: root/models/constant.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'models/constant.hpp')
-rw-r--r--models/constant.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/models/constant.hpp b/models/constant.hpp
index 666051f..ea4b85e 100644
--- a/models/constant.hpp
+++ b/models/constant.hpp
@@ -15,6 +15,10 @@ namespace opt_utilities
{
return new constant<T>(*this);
}
+ const char* do_get_type_name()const
+ {
+ return "constant";
+ }
public:
constant()
{