Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #759 from iglesias/master
Fix compile errors in libshogun hmsvm mosek examples
  • Loading branch information
lisitsyn committed Aug 28, 2012
2 parents 3ec005c + 68061ea commit c35b5ed
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 c35b5ed

Please sign in to comment.