aboutsummaryrefslogtreecommitdiffstats
path: root/models/poly1d.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'models/poly1d.hpp')
-rw-r--r--models/poly1d.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/models/poly1d.hpp b/models/poly1d.hpp
index 142f6ba..4c14426 100644
--- a/models/poly1d.hpp
+++ b/models/poly1d.hpp
@@ -17,6 +17,11 @@ namespace opt_utilities
{
return new poly1d<T,n>(*this);
}
+
+ const char* do_get_type_name()const
+ {
+ return "polynomial";
+ }
public:
poly1d()
{