Skip to content

Commit

Permalink
fix some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
karlnapf committed Feb 9, 2016
1 parent f983be8 commit d4aaa8b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/shogun/base/Parameter.h
Expand Up @@ -204,7 +204,7 @@ class Parameter
*/
virtual bool save(CSerializableFile* file, const char* prefix="");

/* load from serializable file
/** load from serializable file
* @param file source file
* @param prefix prefix
* */
Expand Down
4 changes: 2 additions & 2 deletions src/shogun/optimization/AdaptMomentumCorrection.h
Expand Up @@ -185,8 +185,8 @@ class AdaptMomentumCorrection: public MomentumCorrection
/** Set adaptive weights used in this method
*
* @param adapt_rate the rate is used to discount/raise the current descend direction (see get_corrected_descend_direction() )
* @param adapt_min minimum of the rate
* @param adapt_max minimum of the rate
* @param rate_min minimum of the rate
* @param rate_max minimum of the rate
*/
virtual void set_adapt_rate(float64_t adapt_rate, float64_t rate_min=0.0, float64_t rate_max=CMath::INFTY)
{
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/structure/GEMPLP.h
Expand Up @@ -47,13 +47,15 @@ class CGEMPLP: public CMAPInferImpl
/** Parameter for GEMPLP */
struct Parameter
{
#ifndef DOXYGEN_SHOULD_SKIP_THIS
Parameter(const int32_t max_iter = 1000,
const float64_t obj_del_thr = 0.0002,
const float64_t int_gap_thr = 0.0002)
: m_max_iter(max_iter),
m_obj_del_thr(obj_del_thr),
m_int_gap_thr(int_gap_thr)
{}
#endif

/** maximum number of outer iterations*/
int32_t m_max_iter;
Expand Down

0 comments on commit d4aaa8b

Please sign in to comment.