Skip to content

Commit

Permalink
* fix compile errors in libshogun hmsvm mosek examples
Browse files Browse the repository at this point in the history
  • Loading branch information
iglesias committed Aug 28, 2012
1 parent b630803 commit 68061ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/undocumented/libshogun/so_hmsvm_mosek.cpp
Expand Up @@ -19,7 +19,7 @@ int main(int argc, char ** argv)

CHingeLoss* loss = new CHingeLoss();

CPrimalMosekSOSVM* sosvm = new CPrimalMosekSOSVM(model, loss, labels, features);
CPrimalMosekSOSVM* sosvm = new CPrimalMosekSOSVM(model, loss, labels);
SG_REF(sosvm);

sosvm->train();
Expand Down
2 changes: 1 addition & 1 deletion examples/undocumented/libshogun/so_hmsvm_mosek_simple.cpp
Expand Up @@ -49,7 +49,7 @@ int main(int argc, char ** argv)
CHMSVMModel* model = new CHMSVMModel(features, labels, SMT_TWO_STATE, 3);
SG_REF(model);
CHingeLoss* loss = new CHingeLoss();
CPrimalMosekSOSVM* sosvm = new CPrimalMosekSOSVM(model, loss, labels, features);
CPrimalMosekSOSVM* sosvm = new CPrimalMosekSOSVM(model, loss, labels);
SG_REF(sosvm);

sosvm->train();
Expand Down

0 comments on commit 68061ea

Please sign in to comment.