aboutsummaryrefslogtreecommitdiffstats
path: root/statistics/cstat.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'statistics/cstat.hpp')
-rw-r--r--statistics/cstat.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/statistics/cstat.hpp b/statistics/cstat.hpp
index 1d845e3..f1c1d8f 100644
--- a/statistics/cstat.hpp
+++ b/statistics/cstat.hpp
@@ -60,7 +60,7 @@ namespace opt_utilities
Ts result(0);
for(int i=(this->get_data_set()).size()-1;i>=0;--i)
{
- Ty model_y=eval_model(this->get_data_set().get_data(i).get_x(),p);
+ Ty model_y=this->eval_model(this->get_data_set().get_data(i).get_x(),p);
result-=contract(this->get_data_set().get_data(i).get_y(),std::log(model_y),result);
}
@@ -125,7 +125,7 @@ namespace opt_utilities
Ts result(0);
for(int i=(this->get_data_set()).size()-1;i>=0;--i)
{
- Ty model_y=eval_model(this->get_data_set().get_data(i).get_x(),p);
+ Ty model_y=this->eval_model(this->get_data_set().get_data(i).get_x(),p);
result-=contract1(this->get_data_set().get_data(i).get_y(),std::log(model_y),result);
}