Skip to content

Commit

Permalink
usage of CStatisitcs::mean instead of CMath
Browse files Browse the repository at this point in the history
  • Loading branch information
karlnapf committed Jul 22, 2011
1 parent 20f6974 commit c94ebcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shogun/evaluation/CrossValidation.cpp
Expand Up @@ -87,7 +87,7 @@ CrossValidationResult CCrossValidation::evaluate()

/* construct evaluation result */
CrossValidationResult result;
result.value=CMath::mean(results, m_num_runs);
result.value=CStatistics::mean(SGVector<float64_t>(results, m_num_runs));
result.has_conf_int=m_conf_int_p!=0;
result.conf_int_p=m_conf_int_p;

Expand Down

0 comments on commit c94ebcc

Please sign in to comment.