Skip to content

Commit

Permalink
Merge branch 'multiclass-ecoc' of https://github.com/pluskid/shogun
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed May 22, 2012
2 parents 7ca1c60 + 6216379 commit de154b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/shogun/machine/MulticlassMachine.cpp
Expand Up @@ -52,7 +52,8 @@ CMulticlassMachine::~CMulticlassMachine()

void CMulticlassMachine::set_labels(CLabels* lab)
{
ASSERT(lab->get_label_type() == LT_MULTICLASS);
if (lab)
ASSERT(lab->get_label_type() == LT_MULTICLASS);
CMachine::set_labels(lab);
if (lab)
init_strategy();
Expand Down

0 comments on commit de154b3

Please sign in to comment.