Skip to content

Commit

Permalink
* fix CRegressionLabels* to CBinaryLabels* in apply
Browse files Browse the repository at this point in the history
  • Loading branch information
iglesias committed May 22, 2012
1 parent 13377dd commit 29c5724
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/shogun/classifier/svm/WDSVMOcas.cpp
Expand Up @@ -21,7 +21,6 @@
#include <shogun/features/Alphabet.h>
#include <shogun/labels/Labels.h>
#include <shogun/labels/BinaryLabels.h>
#include <shogun/labels/RegressionLabels.h>

using namespace shogun;

Expand Down Expand Up @@ -120,7 +119,7 @@ CLabels* CWDSVMOcas::apply(CFeatures* data)
int32_t num=features->get_num_vectors();
ASSERT(num>0);

CRegressionLabels* output=new CRegressionLabels(num);
CBinaryLabels* output=new CBinaryLabels(num);
SG_REF(output);

for (int32_t i=0; i<num; i++)
Expand Down

0 comments on commit 29c5724

Please sign in to comment.