aboutsummaryrefslogtreecommitdiffstats
path: root/models/strmodel1d.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'models/strmodel1d.hpp')
-rw-r--r--models/strmodel1d.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/models/strmodel1d.hpp b/models/strmodel1d.hpp
index 4cb1786..650f588 100644
--- a/models/strmodel1d.hpp
+++ b/models/strmodel1d.hpp
@@ -21,6 +21,11 @@ private:
std::string var_name;
double x;
void set_buildin_fun();
+
+ const char* do_get_type_name()const
+ {
+ return "parse a string as a model";
+ }
public:
double do_eval(const double& x,const std::vector<double>& p);
strmodel1d();