Skip to content

Commit

Permalink
Merge pull request #1261 from karlnapf/develop
Browse files Browse the repository at this point in the history
fix forgotten SG_REF that broke a python example
  • Loading branch information
karlnapf committed Jul 18, 2013
2 parents 5364e5b + 0a0df56 commit 1207010
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/shogun/multiclass/ecoc/ECOCStrategy.cpp
Expand Up @@ -14,17 +14,19 @@

using namespace shogun;

CECOCStrategy::CECOCStrategy()
CECOCStrategy::CECOCStrategy() : CMulticlassStrategy()
{
init();
}

CECOCStrategy::CECOCStrategy(CECOCEncoder *encoder, CECOCDecoder *decoder)
:m_encoder(encoder), m_decoder(decoder)
: CMulticlassStrategy()
{
init();
m_encoder=encoder;
m_decoder=decoder;
SG_REF(m_encoder);
SG_REF(decoder);
}

void CECOCStrategy::init()
Expand Down

0 comments on commit 1207010

Please sign in to comment.