aboutsummaryrefslogtreecommitdiffstats
path: root/statistics
diff options
context:
space:
mode:
Diffstat (limited to 'statistics')
-rw-r--r--statistics/chisq.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/statistics/chisq.hpp b/statistics/chisq.hpp
index f9c2c22..339ab6f 100644
--- a/statistics/chisq.hpp
+++ b/statistics/chisq.hpp
@@ -208,9 +208,9 @@ namespace opt_utilities
};
#endif
- template<typename T,typename Tp,typename Ts,typename Tstr>
- class chisq
- :public statistic<optvec<T>,optvec<T>,Tp,Ts,Tstr>
+ template<typename T,typename Ts,typename Tstr>
+ class chisq<optvec<T>,optvec<T>,optvec<T>,Ts,Tstr>
+ :public statistic<optvec<T>,optvec<T>,optvec<T>,Ts,Tstr>
{
private:
bool verb;
@@ -218,6 +218,7 @@ namespace opt_utilities
typedef optvec<T> Tx;
typedef optvec<T> Ty;
+ typedef optvec<T> Tp;
statistic<Ty,Tx,Tp,Ts,Tstr>* do_clone()const
{
// return const_cast<statistic<Ty,Tx,Tp>*>(this);