Skip to content

Commit

Permalink
Warnings fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Aug 23, 2011
1 parent 2e88999 commit 785447e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/shogun/classifier/svm/DomainAdaptationSVMLinear.h
Expand Up @@ -102,7 +102,7 @@ class CDomainAdaptationSVMLinear : public CLibLinear
//virtual std::vector<float64_t> get_linear_term();


/**
/*
* set linear term of the QP
*
* @param lin the linear term
Expand Down
4 changes: 3 additions & 1 deletion src/shogun/classifier/svm/libqp.h
Expand Up @@ -34,6 +34,7 @@ namespace shogun
#define LIBQP_MAX(A,B) ((A) < (B) ? (B) : (A))
#define LIBQP_ABS(A) ((A) < 0 ? -(A) : (A))

#ifndef DOXYGEN_SHOULD_SKIP_THIS
/** QP solver return value */
typedef struct {
/** number of iterations */
Expand All @@ -49,7 +50,8 @@ typedef struct {
2 ... QP - QD <= TolAbs
3 ... QP <= QP_TH
4 ... eps-KKT conditions satisfied */
} libqp_state_T;
} libqp_state_T;
#endif

/** QP solver for tasks with simplex constraints */
libqp_state_T libqp_splx_solver(const float64_t* (*get_col)(uint32_t),
Expand Down
3 changes: 2 additions & 1 deletion src/shogun/clustering/GMM.h
Expand Up @@ -39,6 +39,7 @@ class CGMM : public CDistribution
*
* @param components GMM components
* @param coefficients mixing coefficients
* @param copy true if should be copied
*/
CGMM(SGVector<CGaussian*> components, SGVector<float64_t> coefficients, bool copy=false);
virtual ~CGMM();
Expand Down Expand Up @@ -183,7 +184,7 @@ class CGMM : public CDistribution

/** set coefficients
*
* @param coeffiecients mixing coefficients
* @param coefficients mixing coefficients
*/
virtual inline void set_coef(SGVector<float64_t> coefficients)
{
Expand Down

0 comments on commit 785447e

Please sign in to comment.