aboutsummaryrefslogtreecommitdiffstats
path: root/models/add_model.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'models/add_model.hpp')
-rw-r--r--models/add_model.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/models/add_model.hpp b/models/add_model.hpp
index 46aa76c..1ac7dc1 100644
--- a/models/add_model.hpp
+++ b/models/add_model.hpp
@@ -130,6 +130,12 @@ namespace opt_utilities
}
public:
+ const char* do_get_type_name()const
+ {
+ return "add model";
+ }
+
+ public:
Ty do_eval(const Tx& x,const Tp& param)
{
if(!pm1)