Skip to content

Commit

Permalink
Added missed latent problem handling in apply of machine
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Aug 22, 2012
1 parent 8122bd8 commit 5347c30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/shogun/machine/Machine.cpp
Expand Up @@ -180,6 +180,9 @@ CLabels* CMachine::apply(CFeatures* data)
case PT_STRUCTURED:
result=apply_structured(data);
break;
case PT_LATENT:
result=apply_latent(data);
break;
default:
SG_ERROR("Unknown problem type");
break;
Expand Down

0 comments on commit 5347c30

Please sign in to comment.