Update xgboost_regrank.h

This commit is contained in:
Tianqi Chen 2014-07-12 10:14:30 -07:00
parent 4a98205ef1
commit ca4b3b7541

View File

@ -29,7 +29,7 @@ namespace xgboost{
} }
/*! \brief destructor */ /*! \brief destructor */
~RegRankBoostLearner(void){ ~RegRankBoostLearner(void){
delete obj_; if( obj_ != NULL ) delete obj_;
} }
/*! /*!
* \brief a regression booter associated with training and evaluating data * \brief a regression booter associated with training and evaluating data