commit
11c45e5c60
@ -111,7 +111,7 @@ struct ColBatch : public SparseBatch {
|
|||||||
const bst_uint *col_index;
|
const bst_uint *col_index;
|
||||||
/*! \brief pointer to the column data */
|
/*! \brief pointer to the column data */
|
||||||
const Inst *col_data;
|
const Inst *col_data;
|
||||||
/*! \brief get i-th row from the batch */
|
/*! \brief get i-th column from the batch */
|
||||||
inline Inst operator[](size_t i) const {
|
inline Inst operator[](size_t i) const {
|
||||||
return col_data[i];
|
return col_data[i];
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user