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 */
~RegRankBoostLearner(void){
delete obj_;
if( obj_ != NULL ) delete obj_;
}
/*!
* \brief a regression booter associated with training and evaluating data