Skip to content

Commit

Permalink
workaround fix that fixes compile error of multiclass examples
Browse files Browse the repository at this point in the history
real fix should remove apply(int) from MulticlassSVM (and move it
		MulticlassMachine) instead
  • Loading branch information
Soeren Sonnenburg committed Apr 20, 2012
1 parent dc284a5 commit 949fd1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shogun/classifier/mkl/MKLMulticlass.h
Expand Up @@ -50,6 +50,8 @@ class CMKLMulticlass : public CMulticlassSVM
*/
virtual ~CMKLMulticlass();

using CMulticlassMachine::apply;

/** get classifier type
*
* @return classifier type GMNPMKL
Expand Down
4 changes: 4 additions & 0 deletions src/shogun/classifier/svm/LibSVMMulticlass.h
Expand Up @@ -32,8 +32,12 @@ class CLibSVMMulticlass : public CMulticlassSVM
* @param lab labels
*/
CLibSVMMulticlass(float64_t C, CKernel* k, CLabels* lab);

/** destructor */
virtual ~CLibSVMMulticlass();

using CMulticlassMachine::apply;

/** get classifier type
*
* @return classifier type LIBSVMMULTICLASS
Expand Down

0 comments on commit 949fd1d

Please sign in to comment.