Skip to content

Commit

Permalink
Made print result virtual and available in EvaluationResult
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Jul 8, 2012
1 parent f3871d0 commit a838aaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/shogun/evaluation/CrossValidation.h
Expand Up @@ -28,7 +28,7 @@ class CrossValidationResult : public CEvaluationResult
{
public:
/** print result */
void print_result()
virtual void print_result()
{
if (has_conf_int)
{
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/evaluation/EvaluationResult.h
Expand Up @@ -44,6 +44,8 @@ class CEvaluationResult: public CSGObject
*/
virtual EEvaluationResultType get_result_type() = 0;

/** print result */
virtual void print_result() = 0;
};

} /* namespace shogun */
Expand Down

0 comments on commit a838aaa

Please sign in to comment.