aboutsummaryrefslogtreecommitdiffstats
path: root/models/add_model.hpp
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-10-16 12:03:14 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-10-16 12:03:14 +0000
commita0d3b74adcc29c22d70da971621dd301727eb695 (patch)
tree78435ae01f83769a678eeb550fb74ce512650fd9 /models/add_model.hpp
parent0c1f50351a0287252c4b0f7e9edbfb945481e6f7 (diff)
downloadopt-utilities-a0d3b74adcc29c22d70da971621dd301727eb695.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@81 ed2142bd-67ad-457f-ba7c-d818d4011675
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)