add col maker
This commit is contained in:
@@ -246,9 +246,9 @@ namespace xgboost{
|
||||
return it;
|
||||
}
|
||||
/*! \brief get col iterator */
|
||||
inline ColIter GetReverseSortedCol( size_t cidx ) const{
|
||||
inline ColBackIter GetReverseSortedCol( size_t cidx ) const{
|
||||
utils::Assert( !bst_debug || cidx < this->NumCol(), "col id exceed bound" );
|
||||
ColIter it;
|
||||
ColBackIter it;
|
||||
it.dptr_ = &col_data_[ col_ptr_[cidx+1] ];
|
||||
it.end_ = &col_data_[ col_ptr_[cidx] ];
|
||||
return it;
|
||||
|
||||
Reference in New Issue
Block a user