Update xgboost_regrank.h

This commit is contained in:
Tianqi Chen 2014-07-12 10:14:30 -07:00
parent 497fc86998
commit 8b4f7d7fa2

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