aboutsummaryrefslogtreecommitdiffstats
path: root/statistics/chisq.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'statistics/chisq.hpp')
-rw-r--r--statistics/chisq.hpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/statistics/chisq.hpp b/statistics/chisq.hpp
index acc9e66..54826d5 100644
--- a/statistics/chisq.hpp
+++ b/statistics/chisq.hpp
@@ -36,6 +36,12 @@ namespace opt_utilities
// return const_cast<statistic<Ty,Tx,Tp>*>(this);
return new chisq<Ty,Tx,Tp,Ts,Tstr>(*this);
}
+
+ const char* do_get_type_name()const
+ {
+ return "chi^2 statistic";
+ }
+
public:
void verbose(bool v)
{
@@ -99,7 +105,10 @@ namespace opt_utilities
return new chisq<Ty,Tx,Tp,Ts,Tstr>(*this);
}
-
+ const char* do_get_type_name()const
+ {
+ return "chi^2 statistics (specialized for double)";
+ }
public:
void verbose(bool v)
{