Skip to content

Commit

Permalink
Merge pull request #1109 from iglesias/feature/fix_init
Browse files Browse the repository at this point in the history
Fix SO-SVM constructors missing call to init.
  • Loading branch information
Soeren Sonnenburg committed May 18, 2013
2 parents 8b54eaf + c63fee3 commit 5bd41d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/shogun/structure/DualLibQPBMSOSVM.cpp
Expand Up @@ -18,6 +18,7 @@ using namespace shogun;
CDualLibQPBMSOSVM::CDualLibQPBMSOSVM()
:CLinearStructuredOutputMachine()
{
init();
}

CDualLibQPBMSOSVM::CDualLibQPBMSOSVM(
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/structure/PrimalMosekSOSVM.cpp
Expand Up @@ -21,6 +21,7 @@ CPrimalMosekSOSVM::CPrimalMosekSOSVM()
: CLinearStructuredOutputMachine(),
po_value(0.0)
{
init();
}

CPrimalMosekSOSVM::CPrimalMosekSOSVM(
Expand All @@ -30,6 +31,7 @@ CPrimalMosekSOSVM::CPrimalMosekSOSVM(
: CLinearStructuredOutputMachine(model, loss, labs),
po_value(0.0)
{
init();
}

void CPrimalMosekSOSVM::init()
Expand Down

0 comments on commit 5bd41d9

Please sign in to comment.